20251213_031001.230 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "type": "node-instance", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2025-12-13T07:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20251213_031001.231 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251213_031001.232 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"} 20251213_031001.232 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMi0xM1QwMzoxMDowMS4yMzJaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiYTQ3MTc3YjQtNTJhNS00NDkwLThmNDUtOTk4MWZjMzcwNDRiIn0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0xM1QwNjoxMDowMS4yMDdaIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMTNUMDQ6MTA6MDEuMjA3WiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMTNUMDM6MTA6MDEuMjA3WiIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0xM1QwNjoxMDowMS4yMDdaIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}] 20251213_031001.233 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "type": "node-instance", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2025-12-13T07:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"application_config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "policies_event": {"timestamp": "2025-12-13T03:10:01.232Z", "action": "gathered", "policies_count": 4, "update_id": "a47177b4-52a5-4490-8f45-9981fc37044b"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20251213_031001.233 INFO MainThread mock-context-logger.test_update_policies: runtime_properties: {"application_config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "policies_event": {"timestamp": "2025-12-13T03:10:01.232Z", "action": "gathered", "policies_count": 4, "update_id": "a47177b4-52a5-4490-8f45-9981fc37044b"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"} 20251213_031001.233 INFO MainThread mock-context-logger.test_update_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}} 20251213_031001.233 INFO MainThread mock-context-logger.test_update_policies: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}] 20251213_031001.233 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: not yet in policies 20251213_031001.234 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "type": "node-instance", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2025-12-13T07:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"execute_operation": "policy_update", "application_config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "policies_event": {"timestamp": "2025-12-13T03:10:01.232Z", "action": "gathered", "policies_count": 4, "update_id": "a47177b4-52a5-4490-8f45-9981fc37044b"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20251213_031001.234 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, removed_policies: ["monkeyed.Config_multi"] 20251213_031001.234 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}} 20251213_031001.234 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMi0xM1QwMzoxMDowMS4yMzRaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInBvbGljaWVzX2NvdW50IjogNCwgInVwZGF0ZV9pZCI6ICJmNjAxOGQ3MS0xZDBlLTRlZTAtOWNlMS1hZDRlMjM4MWE0N2EifQ==", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMTNUMDQ6MTA6MDEuMjA3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMTNUMDQ6MTA6MDEuMjA3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiYWEyMCJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMTNUMDM6MTA6MDEuMjA3WiIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0xM1QwNjoxMDowMS4yMDdaIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}] 20251213_031001.235 INFO MainThread mock-context-logger.policy_update: app_config {"db_port": "123", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"} 20251213_031001.235 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "type": "node-instance", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2025-12-13T07:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"execute_operation": "policy_update", "application_config": {"db_port": "123", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "policies_event": {"timestamp": "2025-12-13T03:10:01.234Z", "action": "updated", "policies_count": 4, "update_id": "f6018d71-1d0e-4ee0-9ce1-ad4e2381a47a"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20251213_031001.236 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi]: removed 20251213_031001.236 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}} 20251213_031001.236 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}} 20251213_031001.236 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}} 20251213_031001.236 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}} 20251213_031001.236 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}} 20251213_031001.236 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}} 20251213_031001.237 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251213_031001.246 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "type": "node-instance", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20251213_031001.246 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251213_031001.246 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"} 20251213_031001.246 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "type": "node-instance", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20251213_031001.246 INFO MainThread mock-context-logger.test_defenses_on_set_policies: runtime_properties: {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}} 20251213_031001.246 INFO MainThread mock-context-logger.test_defenses_on_set_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20251213_031001.247 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251213_031001.252 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "type": "node-instance", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2025-12-13T07:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20251213_031001.252 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251213_031001.253 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"} 20251213_031001.253 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMi0xM1QwMzoxMDowMS4yNTNaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiZTI4OWFjY2YtOTdiYS00MmI5LWEyYWMtMTJjNzFjMDRmMjgzIn0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0xM1QwNjoxMDowMS4yMDdaIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMTNUMDQ6MTA6MDEuMjA3WiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMTNUMDM6MTA6MDEuMjA3WiIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0xM1QwNjoxMDowMS4yMDdaIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}] 20251213_031001.253 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "type": "node-instance", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2025-12-13T07:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"application_config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "policies_event": {"timestamp": "2025-12-13T03:10:01.253Z", "action": "gathered", "policies_count": 4, "update_id": "e289accf-97ba-42b9-a2ac-12c71c04f283"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20251213_031001.254 INFO MainThread mock-context-logger.test_remove_update_many_calcs: runtime_properties: {"application_config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "policies_event": {"timestamp": "2025-12-13T03:10:01.253Z", "action": "gathered", "policies_count": 4, "update_id": "e289accf-97ba-42b9-a2ac-12c71c04f283"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"} 20251213_031001.254 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}} 20251213_031001.254 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "type": "node-instance", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2025-12-13T07:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"execute_operation": "policy_update_many_calcs", "application_config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "policies_event": {"timestamp": "2025-12-13T03:10:01.253Z", "action": "gathered", "policies_count": 4, "update_id": "e289accf-97ba-42b9-a2ac-12c71c04f283"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20251213_031001.255 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_multi"] 20251213_031001.255 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20251213_031001.255 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMi0xM1QwMzoxMDowMS4yNTVaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInBvbGljaWVzX2NvdW50IjogMCwgInVwZGF0ZV9pZCI6ICI2MWExY2JjMC1mNDU0LTQwNzQtYjhiNi0zMGMzMjcyMzZjZWMifQ==", "Key": "unit_test_scn:policies/event"}}] 20251213_031001.256 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"db_port": "123", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"} 20251213_031001.256 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "type": "node-instance", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2025-12-13T07:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"execute_operation": "policy_update_many_calcs", "application_config": {"db_port": "123", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"timestamp": "2025-12-13T03:10:01.255Z", "action": "updated", "policies_count": 0, "update_id": "61a1cbc0-f454-4074-b8b6-30c327236cec"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20251213_031001.256 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}} 20251213_031001.256 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}] 20251213_031001.257 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20251213_031001.257 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "type": "node-instance", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2025-12-13T07:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"execute_operation": "policy_update_many_calcs", "application_config": {"db_port": "123", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"timestamp": "2025-12-13T03:10:01.255Z", "action": "updated", "policies_count": 0, "update_id": "61a1cbc0-f454-4074-b8b6-30c327236cec"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20251213_031001.257 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, removed_policies: ["monkeyed.Config_multi"] 20251213_031001.257 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}} 20251213_031001.258 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMi0xM1QwMzoxMDowMS4yNTdaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInBvbGljaWVzX2NvdW50IjogMiwgInVwZGF0ZV9pZCI6ICI2OTU0YjYzYy1hNmNhLTQyMGYtYTcyZi0xNGFmYzIxODQyNzEifQ==", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMTNUMDQ6MTA6MDEuMjA3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiYWEyMCJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMTNUMDQ6MTA6MDEuMjA3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}] 20251213_031001.258 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"} 20251213_031001.258 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "type": "node-instance", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2025-12-13T07:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"execute_operation": "policy_update_many_calcs", "application_config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "policies_event": {"timestamp": "2025-12-13T03:10:01.257Z", "action": "updated", "policies_count": 2, "update_id": "6954b63c-a6ca-420f-a72f-14afc2184271"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20251213_031001.259 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi]: removed 20251213_031001.259 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}} 20251213_031001.259 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}} 20251213_031001.259 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251213_031001.279 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "type": "node-instance", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2025-12-13T07:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20251213_031001.280 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251213_031001.280 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"} 20251213_031001.280 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMi0xM1QwMzoxMDowMS4yODBaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiZGI5ZmNjNDQtZmZiMi00NzBmLTllMDktYTFmZmEzMDM1ZTA0In0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0xM1QwNjoxMDowMS4yMDdaIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMTNUMDQ6MTA6MDEuMjA3WiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMTNUMDM6MTA6MDEuMjA3WiIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0xM1QwNjoxMDowMS4yMDdaIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}] 20251213_031001.281 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "type": "node-instance", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2025-12-13T07:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"application_config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "policies_event": {"timestamp": "2025-12-13T03:10:01.280Z", "action": "gathered", "policies_count": 4, "update_id": "db9fcc44-ffb2-470f-9e09-a1ffa3035e04"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20251213_031001.281 INFO MainThread mock-context-logger.test_bad_update_many_calcs: runtime_properties: {"application_config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "policies_event": {"timestamp": "2025-12-13T03:10:01.280Z", "action": "gathered", "policies_count": 4, "update_id": "db9fcc44-ffb2-470f-9e09-a1ffa3035e04"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"} 20251213_031001.281 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}} 20251213_031001.281 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "config": ["damaged config"], "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}] 20251213_031001.282 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20251213_031001.282 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "type": "node-instance", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2025-12-13T07:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"execute_operation": "policy_update_many_calcs", "application_config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "policies_event": {"timestamp": "2025-12-13T03:10:01.280Z", "action": "gathered", "policies_count": 4, "update_id": "db9fcc44-ffb2-470f-9e09-a1ffa3035e04"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20251213_031001.282 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "config": ["damaged config"], "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"unexpected": "foo", "none": null}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, removed_policies: ["monkeyed.Config_multi"] 20251213_031001.283 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"unexpected": "foo", "none": null}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}} 20251213_031001.283 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMi0xM1QwMzoxMDowMS4yODNaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInBvbGljaWVzX2NvdW50IjogNCwgInVwZGF0ZV9pZCI6ICJkNDRiNTU4Zi1jNTY1LTQ5OTMtOTdiMi05OTc5ZDc2NGQ1NzEifQ==", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJjb25maWciOiB7InVuZXhwZWN0ZWQiOiAiZm9vIiwgIm5vbmUiOiBudWxsfSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7IkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJjb25maWciOiBbImRhbWFnZWQgY29uZmlnIl0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICJhYTIwIn0sICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMTNUMDM6MTA6MDEuMjA3WiIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0xM1QwNjoxMDowMS4yMDdaIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}] 20251213_031001.283 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"db_port": "123", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"} 20251213_031001.284 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "type": "node-instance", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2025-12-13T07:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"execute_operation": "policy_update_many_calcs", "application_config": {"db_port": "123", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "config": ["damaged config"], "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"unexpected": "foo", "none": null}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "policies_event": {"timestamp": "2025-12-13T03:10:01.283Z", "action": "updated", "policies_count": 4, "update_id": "d44b558f-c565-4993-97b2-9979d764d571"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20251213_031001.284 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi]: removed 20251213_031001.284 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"unexpected": "foo", "none": null}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}} 20251213_031001.284 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "config": ["damaged config"], "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}} 20251213_031001.284 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}} 20251213_031001.285 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}} 20251213_031001.285 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}} 20251213_031001.285 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}} 20251213_031001.285 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251213_031001.300 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "type": "node-instance", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2025-12-13T07:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20251213_031001.301 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251213_031001.302 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"} 20251213_031001.302 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMi0xM1QwMzoxMDowMS4zMDJaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiZTQ2ODkzNDYtZTE4Mi00N2FhLTljYzUtNmIxNDRkYzA2ZmIxIn0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0xM1QwNjoxMDowMS4yMDdaIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMTNUMDQ6MTA6MDEuMjA3WiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMTNUMDM6MTA6MDEuMjA3WiIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0xM1QwNjoxMDowMS4yMDdaIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}] 20251213_031001.302 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "type": "node-instance", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2025-12-13T07:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"application_config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "policies_event": {"timestamp": "2025-12-13T03:10:01.302Z", "action": "gathered", "policies_count": 4, "update_id": "e4689346-e182-47aa-9cc5-6b144dc06fb1"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20251213_031001.303 INFO MainThread mock-context-logger.test_delete_node: runtime_properties: {"application_config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "policies_event": {"timestamp": "2025-12-13T03:10:01.302Z", "action": "gathered", "policies_count": 4, "update_id": "e4689346-e182-47aa-9cc5-6b144dc06fb1"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"} 20251213_031001.303 INFO MainThread mock-context-logger.test_delete_node: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}} 20251213_031001.303 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "type": "node-instance", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2025-12-13T07:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"application_config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "policies_event": {"timestamp": "2025-12-13T03:10:01.302Z", "action": "gathered", "policies_count": 4, "update_id": "e4689346-e182-47aa-9cc5-6b144dc06fb1"}, "exe_task": "node_delete", "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20251213_031001.304 INFO MainThread mock-context-logger._run_transaction: response 200 for delete_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}] 20251213_031001.304 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251213_031001.304 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"} 20251213_031001.304 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "type": "node-instance", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2025-12-13T07:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "policies_event": {"timestamp": "2025-12-13T03:10:01.302Z", "action": "gathered", "policies_count": 4, "update_id": "e4689346-e182-47aa-9cc5-6b144dc06fb1"}, "exe_task": "node_delete", "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20251213_031001.304 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251213_031001.320 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "type": "node-instance", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2025-12-13T07:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20251213_031001.321 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251213_031001.321 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"} 20251213_031001.321 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMi0xM1QwMzoxMDowMS4zMjFaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiNjYxODk1NzgtMGIyMC00MDcyLTg2NDUtYTg4MzQyZDg5N2JiIn0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0xM1QwNjoxMDowMS4yMDdaIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMTNUMDQ6MTA6MDEuMjA3WiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMTNUMDM6MTA6MDEuMjA3WiIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0xM1QwNjoxMDowMS4yMDdaIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}] 20251213_031001.322 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "type": "node-instance", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2025-12-13T07:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"application_config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "policies_event": {"timestamp": "2025-12-13T03:10:01.321Z", "action": "gathered", "policies_count": 4, "update_id": "66189578-0b20-4072-8645-a88342d897bb"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20251213_031001.322 INFO MainThread mock-context-logger.test_policies_to_node: runtime_properties: {"application_config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "policies_event": {"timestamp": "2025-12-13T03:10:01.321Z", "action": "gathered", "policies_count": 4, "update_id": "66189578-0b20-4072-8645-a88342d897bb"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"} 20251213_031001.322 INFO MainThread mock-context-logger.test_policies_to_node: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}} 20251213_031001.322 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}} 20251213_031001.323 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}} 20251213_031001.323 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}} 20251213_031001.323 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}} 20251213_031001.323 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}} 20251213_031001.323 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}} 20251213_031001.323 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_multi]: {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}} 20251213_031001.323 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_multi]: {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}} 20251213_031001.324 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251213_031001.333 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 20251213_031001.333 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251213_031001.336 INFO MainThread mock-context-logger.test_delete_node_empty: runtime_properties: {} 20251213_031001.337 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "type": "node-instance", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2025-12-13T07:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_delete"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20251213_031001.337 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251213_031001.337 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"} 20251213_031001.338 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "type": "node-instance", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2025-12-13T07:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}, "exe_task": "node_delete"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20251213_031001.338 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251213_031001.346 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "type": "node-instance", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2025-12-13T07:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20251213_031001.347 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251213_031001.347 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"} 20251213_031001.347 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMi0xM1QwMzoxMDowMS4zNDdaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiMTdiMjE4YTEtYmE4OS00OGY1LTg3ZDgtYWViY2ZjMjNjMjFlIn0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0xM1QwNjoxMDowMS4yMDdaIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMTNUMDQ6MTA6MDEuMjA3WiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMTNUMDM6MTA6MDEuMjA3WiIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0xM1QwNjoxMDowMS4yMDdaIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}] 20251213_031001.348 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "type": "node-instance", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2025-12-13T07:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"application_config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "policies_event": {"timestamp": "2025-12-13T03:10:01.347Z", "action": "gathered", "policies_count": 4, "update_id": "17b218a1-ba89-48f5-87d8-aebcfc23c21e"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20251213_031001.348 INFO MainThread mock-context-logger.test_remove_then_update: runtime_properties: {"application_config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "policies_event": {"timestamp": "2025-12-13T03:10:01.347Z", "action": "gathered", "policies_count": 4, "update_id": "17b218a1-ba89-48f5-87d8-aebcfc23c21e"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"} 20251213_031001.348 INFO MainThread mock-context-logger.test_remove_then_update: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}} 20251213_031001.348 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "type": "node-instance", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2025-12-13T07:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"execute_operation": "policy_update", "application_config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "policies_event": {"timestamp": "2025-12-13T03:10:01.347Z", "action": "gathered", "policies_count": 4, "update_id": "17b218a1-ba89-48f5-87d8-aebcfc23c21e"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20251213_031001.349 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_multi"] 20251213_031001.349 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20251213_031001.349 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMi0xM1QwMzoxMDowMS4zNDlaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInBvbGljaWVzX2NvdW50IjogMCwgInVwZGF0ZV9pZCI6ICI4YWQ0OWZjYi1iMjQ5LTQ5YzAtYjNiNy1hMGY2NzA5NzVhM2YifQ==", "Key": "unit_test_scn:policies/event"}}] 20251213_031001.350 INFO MainThread mock-context-logger.policy_update: app_config {"db_port": "123", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"} 20251213_031001.350 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "type": "node-instance", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2025-12-13T07:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"execute_operation": "policy_update", "application_config": {"db_port": "123", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"timestamp": "2025-12-13T03:10:01.349Z", "action": "updated", "policies_count": 0, "update_id": "8ad49fcb-b249-49c0-b3b7-a0f670975a3f"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20251213_031001.350 INFO MainThread mock-context-logger.test_remove_then_update: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}] 20251213_031001.351 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: not yet in policies 20251213_031001.351 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "type": "node-instance", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2025-12-13T07:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"execute_operation": "policy_update", "application_config": {"db_port": "123", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"timestamp": "2025-12-13T03:10:01.349Z", "action": "updated", "policies_count": 0, "update_id": "8ad49fcb-b249-49c0-b3b7-a0f670975a3f"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20251213_031001.351 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, removed_policies: ["monkeyed.Config_multi"] 20251213_031001.351 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}} 20251213_031001.352 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMi0xM1QwMzoxMDowMS4zNTFaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInBvbGljaWVzX2NvdW50IjogMiwgInVwZGF0ZV9pZCI6ICI2NWZjNDE5OS03MmRlLTQ0NmUtYjAyMC0xN2E5MGQ3YzE0ZjgifQ==", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMTNUMDQ6MTA6MDEuMjA3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiYWEyMCJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMTNUMDQ6MTA6MDEuMjA3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}] 20251213_031001.352 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"} 20251213_031001.352 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "type": "node-instance", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2025-12-13T07:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"execute_operation": "policy_update", "application_config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "policies_event": {"timestamp": "2025-12-13T03:10:01.351Z", "action": "updated", "policies_count": 2, "update_id": "65fc4199-72de-446e-b020-17a90d7c14f8"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20251213_031001.353 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi]: removed 20251213_031001.353 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}} 20251213_031001.353 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}} 20251213_031001.353 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251213_031001.373 INFO MainThread mock-context-logger.test_delete_node_no_policies: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20251213_031001.373 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "type": "node-instance", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2025-12-13T07:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "delete_node_empty", "exe_task": "node_delete", "policies_event": {}}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20251213_031001.373 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "delete_node_empty:policies/"}}] 20251213_031001.373 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251213_031001.374 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"} 20251213_031001.374 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "type": "node-instance", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2025-12-13T07:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}, "exe_task": "node_delete", "policies_event": {}}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20251213_031001.374 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251213_031001.382 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "type": "node-instance", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2025-12-13T07:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20251213_031001.383 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251213_031001.383 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"} 20251213_031001.383 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMi0xM1QwMzoxMDowMS4zODNaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiNTU3MmRkMmItMDQ5NC00Yzc3LTkzZmEtMDRkNTM2MzQ4YTJjIn0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0xM1QwNjoxMDowMS4yMDdaIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMTNUMDQ6MTA6MDEuMjA3WiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMTNUMDM6MTA6MDEuMjA3WiIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0xM1QwNjoxMDowMS4yMDdaIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}] 20251213_031001.384 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "type": "node-instance", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2025-12-13T07:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"application_config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "policies_event": {"timestamp": "2025-12-13T03:10:01.383Z", "action": "gathered", "policies_count": 4, "update_id": "5572dd2b-0494-4c77-93fa-04d536348a2c"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20251213_031001.384 INFO MainThread mock-context-logger.test_gather_policies_to_node: runtime_properties: {"application_config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "policies_event": {"timestamp": "2025-12-13T03:10:01.383Z", "action": "gathered", "policies_count": 4, "update_id": "5572dd2b-0494-4c77-93fa-04d536348a2c"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"} 20251213_031001.384 INFO MainThread mock-context-logger.test_gather_policies_to_node: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}} 20251213_031001.384 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251213_031001.393 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "type": "node-instance", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"execute_operation": "policy_update"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20251213_031001.393 ERROR MainThread mock-context-logger._update_policies: update_policies_on_ctx - no updated, added, or removed policies received 20251213_031001.393 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "type": "node-instance", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"execute_operation": "policy_update"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20251213_031001.393 INFO MainThread mock-context-logger.test_defenses_on_policy_update: policy_update() ok 20251213_031001.393 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251213_031001.398 INFO MainThread mock-context-logger.test_delete_ms_no_consul_addr: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20251213_031001.398 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "type": "node-instance", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2025-12-13T07:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "delete_node_empty", "exe_task": "node_delete", "policies_event": {}}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20251213_031001.398 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "delete_node_empty:policies/"}}] 20251213_031001.398 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251213_031001.399 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"} 20251213_031001.399 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "type": "node-instance", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2025-12-13T07:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}, "exe_task": "node_delete", "policies_event": {}}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20251213_031001.399 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251213_031001.407 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "type": "node-instance", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2025-12-13T07:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20251213_031001.408 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251213_031001.408 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"} 20251213_031001.408 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMi0xM1QwMzoxMDowMS40MDhaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiNzNlNDgxMDMtNmU1YS00Y2UxLWIyOGItMTViZjgxYjU2MjkwIn0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0xM1QwNjoxMDowMS4yMDdaIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMTNUMDQ6MTA6MDEuMjA3WiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMTNUMDM6MTA6MDEuMjA3WiIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0xM1QwNjoxMDowMS4yMDdaIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}] 20251213_031001.409 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "type": "node-instance", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2025-12-13T07:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"application_config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "policies_event": {"timestamp": "2025-12-13T03:10:01.408Z", "action": "gathered", "policies_count": 4, "update_id": "73e48103-6e5a-4ce1-b28b-15bf81b56290"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20251213_031001.409 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"application_config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "policies_event": {"timestamp": "2025-12-13T03:10:01.408Z", "action": "gathered", "policies_count": 4, "update_id": "73e48103-6e5a-4ce1-b28b-15bf81b56290"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"} 20251213_031001.409 INFO MainThread mock-context-logger.test_update_policies_not: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}} 20251213_031001.409 INFO MainThread mock-context-logger.test_update_policies_not: app_config: {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"} 20251213_031001.410 INFO MainThread mock-context-logger.test_update_policies_not: policy_update: [{"policy_id": "monkeyed.Config_multi_3", "policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_multi_3.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}] 20251213_031001.410 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "type": "node-instance", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2025-12-13T07:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"execute_operation": "policy_update", "application_config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "policies_event": {"timestamp": "2025-12-13T03:10:01.408Z", "action": "gathered", "policies_count": 4, "update_id": "73e48103-6e5a-4ce1-b28b-15bf81b56290"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20251213_031001.410 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}, {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}, {"policy_id": "monkeyed.Config_multi_3", "policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_multi_3.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}, "<<>>": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_multi_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, removed_policies: ["<<>>"] 20251213_031001.411 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}} 20251213_031001.411 INFO MainThread mock-context-logger._update_policies: skipped updates on policies: {"unexpected": [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}, {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}], "ignored": [{"policy_id": "monkeyed.Config_multi_3", "policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_multi_3.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}], "same": [{"policy_id": "monkeyed.Config_peach", "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}], "duplicate": []} 20251213_031001.411 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "type": "node-instance", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2025-12-13T07:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"execute_operation": "policy_update", "application_config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "policies_event": {"timestamp": "2025-12-13T03:10:01.408Z", "action": "gathered", "policies_count": 4, "update_id": "73e48103-6e5a-4ce1-b28b-15bf81b56290"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20251213_031001.411 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"execute_operation": "policy_update", "application_config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "policies_event": {"timestamp": "2025-12-13T03:10:01.408Z", "action": "gathered", "policies_count": 4, "update_id": "73e48103-6e5a-4ce1-b28b-15bf81b56290"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"} 20251213_031001.412 INFO MainThread mock-context-logger.test_update_policies_not: policies not changed: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}} 20251213_031001.412 INFO MainThread mock-context-logger.test_update_policies_not: app_config not changed: {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"} 20251213_031001.412 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251213_031001.428 INFO MainThread mock-context-logger.test_delete_node_empty_config: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20251213_031001.429 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "type": "node-instance", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2025-12-13T07:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "delete_node_empty", "exe_task": "node_delete", "policies_event": {}}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20251213_031001.429 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "delete_node_empty:policies/"}}] 20251213_031001.429 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251213_031001.429 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"} 20251213_031001.430 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "type": "node-instance", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2025-12-13T07:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}, "exe_task": "node_delete", "policies_event": {}}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20251213_031001.430 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251213_031001.437 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "type": "node-instance", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20251213_031001.437 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251213_031001.437 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"} 20251213_031001.438 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "type": "node-instance", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20251213_031001.438 INFO MainThread mock-context-logger.test_bad_policies: runtime_properties: {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}, "exe_task": "node_configure", "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}} 20251213_031001.438 INFO MainThread mock-context-logger.test_bad_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20251213_031001.438 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251213_031001.443 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "type": "node-instance", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2025-12-13T07:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20251213_031001.444 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251213_031001.444 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"} 20251213_031001.444 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMi0xM1QwMzoxMDowMS40NDRaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiNmQ2OTNmZmMtNzJjMy00ZGRmLTkxYzAtZWZiMWRlYWJmZDYzIn0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0xM1QwNjoxMDowMS4yMDdaIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMTNUMDQ6MTA6MDEuMjA3WiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMTNUMDM6MTA6MDEuMjA3WiIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0xM1QwNjoxMDowMS4yMDdaIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}] 20251213_031001.445 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "type": "node-instance", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2025-12-13T07:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"application_config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "policies_event": {"timestamp": "2025-12-13T03:10:01.444Z", "action": "gathered", "policies_count": 4, "update_id": "6d693ffc-72c3-4ddf-91c0-efb1deabfd63"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20251213_031001.445 INFO MainThread mock-context-logger.test_update_not_only_config: runtime_properties: {"application_config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "policies_event": {"timestamp": "2025-12-13T03:10:01.444Z", "action": "gathered", "policies_count": 4, "update_id": "6d693ffc-72c3-4ddf-91c0-efb1deabfd63"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"} 20251213_031001.445 INFO MainThread mock-context-logger.test_update_not_only_config: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}} 20251213_031001.445 INFO MainThread mock-context-logger.test_update_not_only_config: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}] 20251213_031001.446 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: not yet in policies 20251213_031001.446 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_not_only_config test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "type": "node-instance", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2025-12-13T07:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"execute_operation": "policy_update_not_only_config", "application_config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "policies_event": {"timestamp": "2025-12-13T03:10:01.444Z", "action": "gathered", "policies_count": 4, "update_id": "6d693ffc-72c3-4ddf-91c0-efb1deabfd63"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20251213_031001.446 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, removed_policies: ["monkeyed.Config_multi"] 20251213_031001.447 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}} 20251213_031001.447 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMi0xM1QwMzoxMDowMS40NDdaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInBvbGljaWVzX2NvdW50IjogNCwgInVwZGF0ZV9pZCI6ICI4ZWY5OGVlMi1hNmFmLTQ1MjMtOGZhZC0wNTVlY2FlODg5NjIifQ==", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMTNUMDQ6MTA6MDEuMjA3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMTNUMDQ6MTA6MDEuMjA3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiYWEyMCJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMTNUMDM6MTA6MDEuMjA3WiIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0xM1QwNjoxMDowMS4yMDdaIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}] 20251213_031001.447 INFO MainThread mock-context-logger.policy_update_not_only_config: app_config {"db_port": "123", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"} 20251213_031001.448 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_not_only_config test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "type": "node-instance", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2025-12-13T07:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"execute_operation": "policy_update_not_only_config", "application_config": {"db_port": "123", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "policies_event": {"timestamp": "2025-12-13T03:10:01.447Z", "action": "updated", "policies_count": 4, "update_id": "8ef98ee2-a6af-4523-8fad-055ecae88962"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20251213_031001.448 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi]: removed 20251213_031001.448 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}} 20251213_031001.449 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}} 20251213_031001.449 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}} 20251213_031001.449 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}} 20251213_031001.449 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}} 20251213_031001.449 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}} 20251213_031001.449 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251213_031001.468 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "type": "node-instance", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2025-12-13T07:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20251213_031001.469 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251213_031001.469 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"} 20251213_031001.469 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMi0xM1QwMzoxMDowMS40NjlaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiMzNhZjBhM2ItZDcyOS00NWI0LWE2ZTUtMGRlZjY0NTg5MjliIn0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0xM1QwNjoxMDowMS4yMDdaIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMTNUMDQ6MTA6MDEuMjA3WiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMTNUMDM6MTA6MDEuMjA3WiIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0xM1QwNjoxMDowMS4yMDdaIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}] 20251213_031001.470 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "type": "node-instance", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2025-12-13T07:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"application_config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "policies_event": {"timestamp": "2025-12-13T03:10:01.469Z", "action": "gathered", "policies_count": 4, "update_id": "33af0a3b-d729-45b4-a6e5-0def6458929b"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20251213_031001.470 INFO MainThread mock-context-logger.test_update_many_calcs: runtime_properties: {"application_config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "policies_event": {"timestamp": "2025-12-13T03:10:01.469Z", "action": "gathered", "policies_count": 4, "update_id": "33af0a3b-d729-45b4-a6e5-0def6458929b"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"} 20251213_031001.470 INFO MainThread mock-context-logger.test_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}} 20251213_031001.470 INFO MainThread mock-context-logger.test_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}] 20251213_031001.470 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20251213_031001.471 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "type": "node-instance", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2025-12-13T07:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"execute_operation": "policy_update_many_calcs", "application_config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "policies_event": {"timestamp": "2025-12-13T03:10:01.469Z", "action": "gathered", "policies_count": 4, "update_id": "33af0a3b-d729-45b4-a6e5-0def6458929b"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20251213_031001.471 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}], added_policies: {"dcae_policies_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, removed_policies: ["monkeyed.Config_multi"] 20251213_031001.471 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}} 20251213_031001.472 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMi0xM1QwMzoxMDowMS40NzFaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInBvbGljaWVzX2NvdW50IjogNCwgInVwZGF0ZV9pZCI6ICI3NWRlOTY3ZC0zNzllLTRmM2EtOWJlMy0zMzUzOWZjMTAyMTgifQ==", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMTNUMDQ6MTA6MDEuMjA3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMTNUMDQ6MTA6MDEuMjA3WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMiJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiYWEyMCJ9LCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMTNUMDM6MTA6MDEuMjA3WiIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0xM1QwNjoxMDowMS4yMDdaIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}] 20251213_031001.472 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"db_port": "123", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"} 20251213_031001.473 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "type": "node-instance", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2025-12-13T07:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"execute_operation": "policy_update_many_calcs", "application_config": {"db_port": "123", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "policies_event": {"timestamp": "2025-12-13T03:10:01.471Z", "action": "updated", "policies_count": 4, "update_id": "75de967d-379e-4f3a-9be3-33539fc10218"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20251213_031001.473 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi]: removed 20251213_031001.473 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_persistent": false, "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}} 20251213_031001.473 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "aa20"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}} 20251213_031001.473 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}} 20251213_031001.473 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}} 20251213_031001.474 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}} 20251213_031001.474 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}} 20251213_031001.474 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251213_031001.489 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "type": "node-instance", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2025-12-13T07:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20251213_031001.490 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251213_031001.490 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"} 20251213_031001.490 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMi0xM1QwMzoxMDowMS40OTBaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiMzBkYTljN2UtNzc3ZC00YTg1LThjOWQtNzcxNTVlNGEzNTYyIn0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0xM1QwNjoxMDowMS4yMDdaIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMTNUMDQ6MTA6MDEuMjA3WiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMTNUMDM6MTA6MDEuMjA3WiIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0xM1QwNjoxMDowMS4yMDdaIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}] 20251213_031001.491 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "type": "node-instance", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2025-12-13T07:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"application_config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "policies_event": {"timestamp": "2025-12-13T03:10:01.490Z", "action": "gathered", "policies_count": 4, "update_id": "30da9c7e-777d-4a85-8c9d-77155e4a3562"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20251213_031001.491 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"application_config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "policies_event": {"timestamp": "2025-12-13T03:10:01.490Z", "action": "gathered", "policies_count": 4, "update_id": "30da9c7e-777d-4a85-8c9d-77155e4a3562"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"} 20251213_031001.491 INFO MainThread mock-context-logger.test_remove_all_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}} 20251213_031001.492 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "type": "node-instance", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2025-12-13T07:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"execute_operation": "policy_update", "application_config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "policies_event": {"timestamp": "2025-12-13T03:10:01.490Z", "action": "gathered", "policies_count": 4, "update_id": "30da9c7e-777d-4a85-8c9d-77155e4a3562"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20251213_031001.492 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_multi"] 20251213_031001.492 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20251213_031001.493 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMi0xM1QwMzoxMDowMS40OTJaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInBvbGljaWVzX2NvdW50IjogMCwgInVwZGF0ZV9pZCI6ICJmMTY4ZmUyMS1kZTQ2LTRiYWItYTFjOC00ZTNmM2U2NTJkNjMifQ==", "Key": "unit_test_scn:policies/event"}}] 20251213_031001.493 INFO MainThread mock-context-logger.policy_update: app_config {"db_port": "123", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"} 20251213_031001.493 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "type": "node-instance", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2025-12-13T07:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"execute_operation": "policy_update", "application_config": {"db_port": "123", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"timestamp": "2025-12-13T03:10:01.492Z", "action": "updated", "policies_count": 0, "update_id": "f168fe21-de46-4bab-a1c8-4e3f3e652d63"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20251213_031001.494 INFO MainThread mock-context-logger.test_remove_all_policies: removed: ['monkeyed.Config_peach_2', 'monkeyed.Config_both', 'monkeyed.Config_peach', 'monkeyed.Config_multi'] 20251213_031001.494 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"execute_operation": "policy_update", "application_config": {"db_port": "123", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"timestamp": "2025-12-13T03:10:01.492Z", "action": "updated", "policies_count": 0, "update_id": "f168fe21-de46-4bab-a1c8-4e3f3e652d63"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"} 20251213_031001.494 INFO MainThread mock-context-logger.test_remove_all_policies: expected = default application_config: {"db_port": "123", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"} 20251213_031001.494 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251213_031001.507 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "type": "node-instance", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20251213_031001.507 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) 20251213_031001.507 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) 20251213_031001.508 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251213_031001.512 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "type": "node-instance", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2025-12-13T07:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20251213_031001.513 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251213_031001.513 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"} 20251213_031001.513 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to store_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMi0xM1QwMzoxMDowMS41MTNaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiMmUwMDIwOWYtMTlkZS00NzhkLWE1MzQtOTc1YTJkYjE5NDVhIn0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0xM1QwNjoxMDowMS4yMDdaIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMTNUMDQ6MTA6MDEuMjA3WiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMTNUMDM6MTA6MDEuMjA3WiIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0xM1QwNjoxMDowMS4yMDdaIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}] 20251213_031001.514 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "type": "node-instance", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2025-12-13T07:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"application_config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "policies_event": {"timestamp": "2025-12-13T03:10:01.513Z", "action": "gathered", "policies_count": 4, "update_id": "2e00209f-19de-478d-a534-975a2db1945a"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20251213_031001.514 INFO MainThread mock-context-logger.test_delete_node_no_consul: runtime_properties: {"application_config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "policies_event": {"timestamp": "2025-12-13T03:10:01.513Z", "action": "gathered", "policies_count": 4, "update_id": "2e00209f-19de-478d-a534-975a2db1945a"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"} 20251213_031001.514 INFO MainThread mock-context-logger.test_delete_node_no_consul: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}} 20251213_031001.515 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "type": "node-instance", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2025-12-13T07:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"application_config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "policies_event": {"timestamp": "2025-12-13T03:10:01.513Z", "action": "gathered", "policies_count": 4, "update_id": "2e00209f-19de-478d-a534-975a2db1945a"}, "exe_task": "node_delete", "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20251213_031001.515 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}] 20251213_031001.515 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251213_031001.515 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"db_port": "123", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"} 20251213_031001.516 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "type": "node-instance", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2025-12-13T07:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"application_config": {"db_port": "123", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "policies_event": {"timestamp": "2025-12-13T03:10:01.513Z", "action": "gathered", "policies_count": 4, "update_id": "2e00209f-19de-478d-a534-975a2db1945a"}, "exe_task": "node_delete", "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20251213_031001.516 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251213_031001.530 INFO MainThread mock-context-logger.test_delete_node_lost_scn: runtime_properties: {"policies_event": {}} 20251213_031001.531 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "type": "node-instance", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2025-12-13T07:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_delete", "policies_event": {}}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20251213_031001.531 WARNING MainThread mock-context-logger.delete_policies: failed to find service_component_name to delete_policies in consul-kv 20251213_031001.531 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251213_031001.531 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"} 20251213_031001.531 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "type": "node-instance", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2025-12-13T07:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}, "exe_task": "node_delete", "policies_event": {}}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20251213_031001.532 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251213_031001.539 INFO MainThread mock-context-logger.test_delete_bad_config: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20251213_031001.540 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "type": "node-instance", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2025-12-13T07:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "delete_node_empty", "exe_task": "node_delete", "policies_event": {}}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20251213_031001.540 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to delete_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "delete_node_empty:policies/"}}] 20251213_031001.540 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251213_031001.540 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"} 20251213_031001.541 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "type": "node-instance", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2025-12-13T07:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}, "exe_task": "node_delete", "policies_event": {}}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20251213_031001.541 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251213_031001.548 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "type": "node-instance", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2025-12-13T07:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20251213_031001.549 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20251213_031001.550 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"} 20251213_031001.550 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMi0xM1QwMzoxMDowMS41NTBaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiNWI0YzhmZDktYTdlNy00YTQ1LWI0MzUtNGM1MWM2YmM1YWM4In0=", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0xM1QwNjoxMDowMS4yMDdaIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIyIn0sICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQifQ==", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aS4yLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMTNUMDQ6MTA6MDEuMjA3WiIsICJwb2xpY3lfaGVsbG8iOiAiaXBzdW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaC4xLnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RzIjogIjIwMjUtMTItMTNUMDM6MTA6MDEuMjA3WiIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2giLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEifSwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAicHJpb3JpdHkiOiAiMSJ9LCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIn0=", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Verb": "set", "Value": "eyJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNS0xMi0xM1QwNjoxMDowMS4yMDdaIiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCJ9LCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUiLCAiT05BUE5hbWUiOiAiRENBRSIsICJwcmlvcml0eSI6ICIxLjUifSwgInBvbGljeVZlcnNpb24iOiAiNCIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCJ9", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}] 20251213_031001.550 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "type": "node-instance", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2025-12-13T07:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"application_config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "policies_event": {"timestamp": "2025-12-13T03:10:01.550Z", "action": "gathered", "policies_count": 4, "update_id": "5b4c8fd9-a7e7-4a45-b435-4c51c6bc5ac8"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20251213_031001.551 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"application_config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "policies_event": {"timestamp": "2025-12-13T03:10:01.550Z", "action": "gathered", "policies_count": 4, "update_id": "5b4c8fd9-a7e7-4a45-b435-4c51c6bc5ac8"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"} 20251213_031001.551 INFO MainThread mock-context-logger.test_remove_all_policies_twice: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}} 20251213_031001.551 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "type": "node-instance", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2025-12-13T07:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"execute_operation": "policy_update", "application_config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "db_port": "123", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "policy_hello": "sit", "policy_updated_from_ver": "3", "updated_policy_id": "monkeyed.Config_both", "policy_updated_to_ver": "4"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyVersion": "4", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true, "policy_body": {"policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_to_ver": "1"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyVersion": "1", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_persistent": false, "policy_body": {"policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "policy_hello": "ipsum", "policy_updated_from_ver": "1", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_to_ver": "2"}, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyVersion": "2", "responseAttributes": {}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED"}}}, "policies_event": {"timestamp": "2025-12-13T03:10:01.550Z", "action": "gathered", "policies_count": 4, "update_id": "5b4c8fd9-a7e7-4a45-b435-4c51c6bc5ac8"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20251213_031001.552 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_multi"] 20251213_031001.552 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20251213_031001.552 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Value": "eyJ0aW1lc3RhbXAiOiAiMjAyNS0xMi0xM1QwMzoxMDowMS41NTJaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInBvbGljaWVzX2NvdW50IjogMCwgInVwZGF0ZV9pZCI6ICI0ZGE0MzM0Yy1mNWNhLTQxYmQtODk0Ni1kNzhiNDY5MjVlNmYifQ==", "Key": "unit_test_scn:policies/event"}}] 20251213_031001.553 INFO MainThread mock-context-logger.policy_update: app_config {"db_port": "123", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"} 20251213_031001.553 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "type": "node-instance", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2025-12-13T07:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"execute_operation": "policy_update", "application_config": {"db_port": "123", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"timestamp": "2025-12-13T03:10:01.552Z", "action": "updated", "policies_count": 0, "update_id": "4da4334c-f5ca-41bd-8946-d78b46925e6f"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20251213_031001.554 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "type": "node-instance", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2025-12-13T07:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"execute_operation": "policy_update", "application_config": {"db_port": "123", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"timestamp": "2025-12-13T03:10:01.552Z", "action": "updated", "policies_count": 0, "update_id": "4da4334c-f5ca-41bd-8946-d78b46925e6f"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20251213_031001.554 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_both", "monkeyed.Config_peach", "monkeyed.Config_multi"] 20251213_031001.554 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20251213_031001.554 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "type": "node-instance", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "dcae_policy_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_node_id_2", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_empty_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "1", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0", "policy_hello": "Lorem", "policy_updated_to_ver": "1"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_2_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "2", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_updated_ts": "2025-12-13T04:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1", "policy_hello": "ipsum", "policy_updated_to_ver": "2"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policy_b_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "4", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2025-12-13T06:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3", "policy_hello": "sit", "policy_updated_to_ver": "4"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "1.5"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "dcae_policies_b_5_node_id", "relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyVersion": "5", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_updated_ts": "2025-12-13T07:10:01.207Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4", "policy_hello": "amet", "policy_updated_to_ver": "5"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}}}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "type": "dcae.nodes.policies"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"execute_operation": "policy_update", "application_config": {"db_port": "123", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"timestamp": "2025-12-13T03:10:01.552Z", "action": "updated", "policies_count": 0, "update_id": "4da4334c-f5ca-41bd-8946-d78b46925e6f"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20251213_031001.555 INFO MainThread mock-context-logger.test_remove_all_policies_twice: removed: ['monkeyed.Config_peach_2', 'monkeyed.Config_both', 'monkeyed.Config_peach', 'monkeyed.Config_multi'] 20251213_031001.555 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"execute_operation": "policy_update", "application_config": {"db_port": "123", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}, "policy_filters": {"dcae_policies_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}, "dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}}, "policies_event": {"timestamp": "2025-12-13T03:10:01.552Z", "action": "updated", "policies_count": 0, "update_id": "4da4334c-f5ca-41bd-8946-d78b46925e6f"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn"} 20251213_031001.555 INFO MainThread mock-context-logger.test_remove_all_policies_twice: expected = default application_config: {"db_port": "123", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "updated_policy_id": "no_policy", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"} 20251213_031001.555 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251213_031001.574 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"operation": {"retry_number": null, "name": null, "max_retries": null}, "deployment.id": "test_dcae_policy_dpl_id", "task_queue": null, "plugin": {"workdir": null, "package_version": null, "name": "", "package_name": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27"}, "task_target": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"db_port": "123", "updated_policy_id": "no_policy", "policy_updated_ts": "2025-12-13T03:10:01.207Z", "policy_hello": "Lorem", "policy_updated_from_ver": "0", "weather": "snow", "policy_updated_to_ver": "1"}}, "type": "ms.nodes.type"}, "type": "node-instance", "instance": {"id": "test_ms_id", "relationships": [{"target": {"instance": {"id": "bad_policy_2_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_3_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "bad_policy_4_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "weird_policy_5_node_id", "relationships": [], "runtime_properties": {"policy_body": {"policyVersion": "3", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_updated_ts": "2025-12-13T05:10:01.207Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2", "policy_hello": "dolor", "policy_updated_to_ver": "3"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "property": null, "matchingConditions": {"ConfigName": "alex_config_name", "ONAPName": "DCAE", "priority": "2"}, "policyConfigStatus": "CONFIG_RETRIEVED", "responseAttributes": {}}}}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "type": "dcae.nodes.policy"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}, {"target": {"instance": {"id": "non_policies_node_id", "relationships": [], "runtime_properties": {}}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "type": "non.policy.type"}}, "type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"execute_operation": "policy_update"}}, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "workflow_id": null, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id"} 20251213_031001.574 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) 20251213_031001.574 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) 20251213_031001.574 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20251213_031001.578 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 20251213_031001.578 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear