20260307_031049.498 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2026-03-07T07:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20260307_031049.499 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260307_031049.500 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20260307_031049.500 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", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiNDQxZmFlNGMtNGI2OS00ZmQ1LWIzNTYtMWMzMTM5NDg4OGU5IiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI2LTAzLTA3VDAzOjEwOjQ5LjUwMFoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0wN1QwMzoxMDo0OS40NzVaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5VmVyc2lvbiI6ICIxIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0wN1QwNjoxMDo0OS40NzVaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTA3VDA2OjEwOjQ5LjQ3NVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiNCJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMDdUMDQ6MTA6NDkuNDc1WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiJ9"}}] 20260307_031049.500 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2026-03-07T07:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "441fae4c-4b69-4fd5-b356-1c31394888e9", "policies_count": 4, "timestamp": "2026-03-07T03:10:49.500Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20260307_031049.501 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "441fae4c-4b69-4fd5-b356-1c31394888e9", "policies_count": 4, "timestamp": "2026-03-07T03:10:49.500Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"} 20260307_031049.501 INFO MainThread mock-context-logger.test_update_policies_not: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}} 20260307_031049.501 INFO MainThread mock-context-logger.test_update_policies_not: app_config: {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20260307_031049.501 INFO MainThread mock-context-logger.test_update_policies_not: policy_update: [{"policy_id": "monkeyed.Config_multi_3", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_multi_3.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}] 20260307_031049.502 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2026-03-07T07:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "441fae4c-4b69-4fd5-b356-1c31394888e9", "policies_count": 4, "timestamp": "2026-03-07T03:10:49.500Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20260307_031049.502 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, {"policy_id": "monkeyed.Config_multi_3", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_multi_3.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "<<>>": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_multi_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}}}}, removed_policies: ["<<>>"] 20260307_031049.502 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}} 20260307_031049.502 INFO MainThread mock-context-logger._update_policies: skipped updates on policies: {"unexpected": [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyName": "monkeyed.Config_peach_2.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}], "duplicate": [], "ignored": [{"policy_id": "monkeyed.Config_multi_3", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi_3", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_multi_3.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}], "same": [{"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}]} 20260307_031049.503 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2026-03-07T07:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "441fae4c-4b69-4fd5-b356-1c31394888e9", "policies_count": 4, "timestamp": "2026-03-07T03:10:49.500Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20260307_031049.503 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "441fae4c-4b69-4fd5-b356-1c31394888e9", "policies_count": 4, "timestamp": "2026-03-07T03:10:49.500Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"} 20260307_031049.503 INFO MainThread mock-context-logger.test_update_policies_not: policies not changed: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}} 20260307_031049.503 INFO MainThread mock-context-logger.test_update_policies_not: app_config not changed: {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20260307_031049.504 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260307_031049.514 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2026-03-07T07:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20260307_031049.515 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260307_031049.515 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20260307_031049.515 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", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiM2QwZmE0NWUtNjhjMC00OTU3LWEyMzctYjE1YjBmOTAzNDM1IiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI2LTAzLTA3VDAzOjEwOjQ5LjUxNVoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0wN1QwMzoxMDo0OS40NzVaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5VmVyc2lvbiI6ICIxIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0wN1QwNjoxMDo0OS40NzVaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTA3VDA2OjEwOjQ5LjQ3NVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiNCJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMDdUMDQ6MTA6NDkuNDc1WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiJ9"}}] 20260307_031049.516 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2026-03-07T07:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "3d0fa45e-68c0-4957-a237-b15b0f903435", "policies_count": 4, "timestamp": "2026-03-07T03:10:49.515Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20260307_031049.516 INFO MainThread mock-context-logger.test_delete_node: runtime_properties: {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "3d0fa45e-68c0-4957-a237-b15b0f903435", "policies_count": 4, "timestamp": "2026-03-07T03:10:49.515Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"} 20260307_031049.516 INFO MainThread mock-context-logger.test_delete_node: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}} 20260307_031049.517 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2026-03-07T07:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "3d0fa45e-68c0-4957-a237-b15b0f903435", "policies_count": 4, "timestamp": "2026-03-07T03:10:49.515Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_delete"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20260307_031049.517 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/"}}] 20260307_031049.517 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260307_031049.517 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20260307_031049.518 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2026-03-07T07:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "3d0fa45e-68c0-4957-a237-b15b0f903435", "policies_count": 4, "timestamp": "2026-03-07T03:10:49.515Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_delete"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20260307_031049.518 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260307_031049.532 INFO MainThread mock-context-logger.test_delete_ms_no_consul_addr: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20260307_031049.532 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2026-03-07T07:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "service_component_name": "delete_node_empty"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20260307_031049.532 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/"}}] 20260307_031049.533 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260307_031049.533 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20260307_031049.533 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2026-03-07T07:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20260307_031049.533 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260307_031049.541 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2026-03-07T07:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20260307_031049.542 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260307_031049.542 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20260307_031049.542 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", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiNDhiYWQ0MjQtMTUyNC00ZDRjLWE5ZDMtNDliODkxY2FiOWExIiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI2LTAzLTA3VDAzOjEwOjQ5LjU0MloiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0wN1QwMzoxMDo0OS40NzVaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5VmVyc2lvbiI6ICIxIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0wN1QwNjoxMDo0OS40NzVaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTA3VDA2OjEwOjQ5LjQ3NVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiNCJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMDdUMDQ6MTA6NDkuNDc1WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiJ9"}}] 20260307_031049.543 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2026-03-07T07:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "48bad424-1524-4d4c-a9d3-49b891cab9a1", "policies_count": 4, "timestamp": "2026-03-07T03:10:49.542Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20260307_031049.543 INFO MainThread mock-context-logger.test_update_policies: runtime_properties: {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "48bad424-1524-4d4c-a9d3-49b891cab9a1", "policies_count": 4, "timestamp": "2026-03-07T03:10:49.542Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"} 20260307_031049.543 INFO MainThread mock-context-logger.test_update_policies: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}} 20260307_031049.544 INFO MainThread mock-context-logger.test_update_policies: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": true}] 20260307_031049.544 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: not yet in policies 20260307_031049.544 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2026-03-07T07:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "48bad424-1524-4d4c-a9d3-49b891cab9a1", "policies_count": 4, "timestamp": "2026-03-07T03:10:49.542Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20260307_031049.544 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": true}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260307_031049.545 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": false}} 20260307_031049.545 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", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiNjg1MzE4ZWItMWRkNS00ZmEyLWE1N2YtMzI1YmJlZTlmMGU4IiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI2LTAzLTA3VDAzOjEwOjQ5LjU0NVoiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0wN1QwMzoxMDo0OS40NzVaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5VmVyc2lvbiI6ICIxIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogImFhMjAifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMDdUMDQ6MTA6NDkuNDc1WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTA3VDA2OjEwOjQ5LjQ3NVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiNCJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMDdUMDQ6MTA6NDkuNDc1WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20260307_031049.545 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20260307_031049.546 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2026-03-07T07:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": false}}, "policies_event": {"update_id": "685318eb-1dd5-4fa2-a57f-325bbee9f0e8", "policies_count": 4, "timestamp": "2026-03-07T03:10:49.545Z", "action": "updated"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20260307_031049.546 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi]: removed 20260307_031049.546 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": false} 20260307_031049.546 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": true} 20260307_031049.547 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}, "policy_persistent": true} 20260307_031049.547 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true} 20260307_031049.547 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}, "policy_persistent": true} 20260307_031049.547 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true} 20260307_031049.547 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260307_031049.563 INFO MainThread mock-context-logger.test_delete_node_no_policies: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20260307_031049.564 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2026-03-07T07:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "service_component_name": "delete_node_empty"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20260307_031049.564 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/"}}] 20260307_031049.564 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260307_031049.564 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20260307_031049.565 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2026-03-07T07:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20260307_031049.565 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260307_031049.572 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20260307_031049.572 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260307_031049.572 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20260307_031049.572 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20260307_031049.573 INFO MainThread mock-context-logger.test_bad_policies: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}} 20260307_031049.573 INFO MainThread mock-context-logger.test_bad_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20260307_031049.573 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260307_031049.578 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2026-03-07T07:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20260307_031049.579 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260307_031049.579 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20260307_031049.579 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", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiYTA1YzUyZWMtMGMzZC00MDVkLWE2OTEtNTJhN2FmMmJkYmU4IiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI2LTAzLTA3VDAzOjEwOjQ5LjU3OVoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0wN1QwMzoxMDo0OS40NzVaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5VmVyc2lvbiI6ICIxIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0wN1QwNjoxMDo0OS40NzVaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTA3VDA2OjEwOjQ5LjQ3NVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiNCJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMDdUMDQ6MTA6NDkuNDc1WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiJ9"}}] 20260307_031049.580 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2026-03-07T07:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "a05c52ec-0c3d-405d-a691-52a7af2bdbe8", "policies_count": 4, "timestamp": "2026-03-07T03:10:49.579Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20260307_031049.580 INFO MainThread mock-context-logger.test_gather_policies_to_node: runtime_properties: {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "a05c52ec-0c3d-405d-a691-52a7af2bdbe8", "policies_count": 4, "timestamp": "2026-03-07T03:10:49.579Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"} 20260307_031049.580 INFO MainThread mock-context-logger.test_gather_policies_to_node: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}} 20260307_031049.580 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260307_031049.589 INFO MainThread mock-context-logger.test_delete_bad_config: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20260307_031049.590 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2026-03-07T07:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "service_component_name": "delete_node_empty"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20260307_031049.590 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/"}}] 20260307_031049.590 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260307_031049.590 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20260307_031049.591 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2026-03-07T07:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20260307_031049.591 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260307_031049.598 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20260307_031049.598 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260307_031049.598 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20260307_031049.598 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20260307_031049.598 INFO MainThread mock-context-logger.test_defenses_on_set_policies: runtime_properties: {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}} 20260307_031049.599 INFO MainThread mock-context-logger.test_defenses_on_set_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20260307_031049.599 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260307_031049.604 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2026-03-07T07:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20260307_031049.605 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260307_031049.605 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20260307_031049.605 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", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiODA4NDEwN2EtMzhkOC00YjI3LTg1YTYtMGVkZjA2YjA4Mzg0IiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI2LTAzLTA3VDAzOjEwOjQ5LjYwNVoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0wN1QwMzoxMDo0OS40NzVaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5VmVyc2lvbiI6ICIxIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0wN1QwNjoxMDo0OS40NzVaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTA3VDA2OjEwOjQ5LjQ3NVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiNCJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMDdUMDQ6MTA6NDkuNDc1WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiJ9"}}] 20260307_031049.606 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2026-03-07T07:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "8084107a-38d8-4b27-85a6-0edf06b08384", "policies_count": 4, "timestamp": "2026-03-07T03:10:49.605Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20260307_031049.606 INFO MainThread mock-context-logger.test_remove_update_many_calcs: runtime_properties: {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "8084107a-38d8-4b27-85a6-0edf06b08384", "policies_count": 4, "timestamp": "2026-03-07T03:10:49.605Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"} 20260307_031049.606 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}} 20260307_031049.606 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2026-03-07T07:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "8084107a-38d8-4b27-85a6-0edf06b08384", "policies_count": 4, "timestamp": "2026-03-07T03:10:49.605Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20260307_031049.607 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach", "monkeyed.Config_peach_2", "monkeyed.Config_both", "monkeyed.Config_multi"] 20260307_031049.607 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260307_031049.607 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", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiYTYwNGVmODgtMGM0Yy00NDVjLWFhMzQtMzBkZjJkZDczODYyIiwgInBvbGljaWVzX2NvdW50IjogMCwgInRpbWVzdGFtcCI6ICIyMDI2LTAzLTA3VDAzOjEwOjQ5LjYwN1oiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}] 20260307_031049.608 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20260307_031049.608 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2026-03-07T07:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"update_id": "a604ef88-0c4c-445c-aa34-30df2dd73862", "policies_count": 0, "timestamp": "2026-03-07T03:10:49.607Z", "action": "updated"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20260307_031049.608 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}} 20260307_031049.609 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": true}] 20260307_031049.609 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260307_031049.609 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2026-03-07T07:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"update_id": "a604ef88-0c4c-445c-aa34-30df2dd73862", "policies_count": 0, "timestamp": "2026-03-07T03:10:49.607Z", "action": "updated"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20260307_031049.609 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": true}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260307_031049.609 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": false}} 20260307_031049.610 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", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiNDlhMTllZmYtODUzZS00MWJkLWJjMzItMWNjMWIzMmM1M2FjIiwgInBvbGljaWVzX2NvdW50IjogMiwgInRpbWVzdGFtcCI6ICIyMDI2LTAzLTA3VDAzOjEwOjQ5LjYxMFoiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogImFhMjAifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMDdUMDQ6MTA6NDkuNDc1WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMDdUMDQ6MTA6NDkuNDc1WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20260307_031049.610 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20260307_031049.611 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2026-03-07T07:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": false}}, "policies_event": {"update_id": "49a19eff-853e-41bd-bc32-1cc1b32c53ac", "policies_count": 2, "timestamp": "2026-03-07T03:10:49.610Z", "action": "updated"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20260307_031049.611 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260307_031049.611 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": false} 20260307_031049.611 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": true} 20260307_031049.611 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260307_031049.630 INFO MainThread mock-context-logger.test_delete_node_empty_config: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20260307_031049.631 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2026-03-07T07:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "service_component_name": "delete_node_empty"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20260307_031049.631 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/"}}] 20260307_031049.631 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260307_031049.631 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20260307_031049.632 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2026-03-07T07:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20260307_031049.632 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260307_031049.642 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2026-03-07T07:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20260307_031049.643 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260307_031049.643 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20260307_031049.644 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", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiOGUxNzc5NjEtZGNhZS00N2U2LTg0YTMtZDllZTcxMjIzMTU2IiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI2LTAzLTA3VDAzOjEwOjQ5LjY0M1oiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0wN1QwMzoxMDo0OS40NzVaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5VmVyc2lvbiI6ICIxIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0wN1QwNjoxMDo0OS40NzVaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTA3VDA2OjEwOjQ5LjQ3NVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiNCJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMDdUMDQ6MTA6NDkuNDc1WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiJ9"}}] 20260307_031049.644 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2026-03-07T07:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "8e177961-dcae-47e6-84a3-d9ee71223156", "policies_count": 4, "timestamp": "2026-03-07T03:10:49.643Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20260307_031049.644 INFO MainThread mock-context-logger.test_remove_then_update: runtime_properties: {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "8e177961-dcae-47e6-84a3-d9ee71223156", "policies_count": 4, "timestamp": "2026-03-07T03:10:49.643Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"} 20260307_031049.645 INFO MainThread mock-context-logger.test_remove_then_update: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}} 20260307_031049.645 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2026-03-07T07:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "8e177961-dcae-47e6-84a3-d9ee71223156", "policies_count": 4, "timestamp": "2026-03-07T03:10:49.643Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20260307_031049.645 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach", "monkeyed.Config_peach_2", "monkeyed.Config_both", "monkeyed.Config_multi"] 20260307_031049.646 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260307_031049.646 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", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiZTFmNDljMmEtYmQ2ZS00MWI0LWFjZDEtYmVjYmJlY2Q5NDJmIiwgInBvbGljaWVzX2NvdW50IjogMCwgInRpbWVzdGFtcCI6ICIyMDI2LTAzLTA3VDAzOjEwOjQ5LjY0NloiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}] 20260307_031049.646 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20260307_031049.647 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2026-03-07T07:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"update_id": "e1f49c2a-bd6e-41b4-acd1-becbbecd942f", "policies_count": 0, "timestamp": "2026-03-07T03:10:49.646Z", "action": "updated"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20260307_031049.647 INFO MainThread mock-context-logger.test_remove_then_update: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": true}] 20260307_031049.647 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: not yet in policies 20260307_031049.648 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2026-03-07T07:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"update_id": "e1f49c2a-bd6e-41b4-acd1-becbbecd942f", "policies_count": 0, "timestamp": "2026-03-07T03:10:49.646Z", "action": "updated"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20260307_031049.648 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": true}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260307_031049.648 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": false}} 20260307_031049.648 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", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiZGZkYzliZDQtNzJkZi00YzU2LWFjNGYtZjkwMGE4YzIzNTg1IiwgInBvbGljaWVzX2NvdW50IjogMiwgInRpbWVzdGFtcCI6ICIyMDI2LTAzLTA3VDAzOjEwOjQ5LjY0OFoiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogImFhMjAifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMDdUMDQ6MTA6NDkuNDc1WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMDdUMDQ6MTA6NDkuNDc1WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20260307_031049.649 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20260307_031049.649 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2026-03-07T07:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": false}}, "policies_event": {"update_id": "dfdc9bd4-72df-4c56-ac4f-f900a8c23585", "policies_count": 2, "timestamp": "2026-03-07T03:10:49.648Z", "action": "updated"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20260307_031049.649 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi]: removed 20260307_031049.650 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": false} 20260307_031049.650 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": true} 20260307_031049.650 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260307_031049.669 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2026-03-07T07:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20260307_031049.670 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260307_031049.670 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20260307_031049.671 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", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiMGNlNTc2ZDEtZWJiMC00OTIxLWEwZTYtNDA5MzU2NTc4OTkxIiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI2LTAzLTA3VDAzOjEwOjQ5LjY3MFoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0wN1QwMzoxMDo0OS40NzVaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5VmVyc2lvbiI6ICIxIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0wN1QwNjoxMDo0OS40NzVaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTA3VDA2OjEwOjQ5LjQ3NVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiNCJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMDdUMDQ6MTA6NDkuNDc1WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiJ9"}}] 20260307_031049.671 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2026-03-07T07:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "0ce576d1-ebb0-4921-a0e6-409356578991", "policies_count": 4, "timestamp": "2026-03-07T03:10:49.670Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20260307_031049.671 INFO MainThread mock-context-logger.test_update_many_calcs: runtime_properties: {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "0ce576d1-ebb0-4921-a0e6-409356578991", "policies_count": 4, "timestamp": "2026-03-07T03:10:49.670Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"} 20260307_031049.671 INFO MainThread mock-context-logger.test_update_many_calcs: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}} 20260307_031049.672 INFO MainThread mock-context-logger.test_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": true}] 20260307_031049.672 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260307_031049.672 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2026-03-07T07:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "0ce576d1-ebb0-4921-a0e6-409356578991", "policies_count": 4, "timestamp": "2026-03-07T03:10:49.670Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20260307_031049.673 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": true}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260307_031049.673 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": false}} 20260307_031049.673 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", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiZTM5ZDJkMjctMzU1MC00ZDQ5LWI5NjItOThlZjNiZDMyYmYxIiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI2LTAzLTA3VDAzOjEwOjQ5LjY3M1oiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0wN1QwMzoxMDo0OS40NzVaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5VmVyc2lvbiI6ICIxIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogImFhMjAifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMDdUMDQ6MTA6NDkuNDc1WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTA3VDA2OjEwOjQ5LjQ3NVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiNCJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMDdUMDQ6MTA6NDkuNDc1WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20260307_031049.674 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20260307_031049.674 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2026-03-07T07:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": false}}, "policies_event": {"update_id": "e39d2d27-3550-4d49-b962-98ef3bd32bf1", "policies_count": 4, "timestamp": "2026-03-07T03:10:49.673Z", "action": "updated"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20260307_031049.674 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260307_031049.674 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": false} 20260307_031049.675 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": true} 20260307_031049.675 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}, "policy_persistent": true} 20260307_031049.675 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true} 20260307_031049.675 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}, "policy_persistent": true} 20260307_031049.675 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true} 20260307_031049.675 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260307_031049.690 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20260307_031049.691 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) 20260307_031049.691 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) 20260307_031049.691 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260307_031049.695 INFO MainThread mock-context-logger.test_delete_node_lost_scn: runtime_properties: {"policies_event": {}} 20260307_031049.696 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2026-03-07T07:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policies_event": {}, "exe_task": "node_delete"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20260307_031049.696 WARNING MainThread mock-context-logger.delete_policies: failed to find service_component_name to delete_policies in consul-kv 20260307_031049.696 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260307_031049.696 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20260307_031049.697 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2026-03-07T07:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policies_event": {}, "exe_task": "node_delete", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20260307_031049.697 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260307_031049.704 INFO MainThread mock-context-logger.test_delete_node_empty: runtime_properties: {} 20260307_031049.705 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2026-03-07T07:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_delete"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20260307_031049.705 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260307_031049.705 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20260307_031049.706 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2026-03-07T07:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_delete", "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20260307_031049.706 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260307_031049.713 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 20260307_031049.713 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260307_031049.717 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2026-03-07T07:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20260307_031049.718 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260307_031049.718 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20260307_031049.719 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", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiYjRkMjEwMWUtYzNjYi00ODNmLTg3ZmItZGRhNjBhMWViNjAwIiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI2LTAzLTA3VDAzOjEwOjQ5LjcxOVoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0wN1QwMzoxMDo0OS40NzVaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5VmVyc2lvbiI6ICIxIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0wN1QwNjoxMDo0OS40NzVaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTA3VDA2OjEwOjQ5LjQ3NVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiNCJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMDdUMDQ6MTA6NDkuNDc1WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiJ9"}}] 20260307_031049.719 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2026-03-07T07:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "b4d2101e-c3cb-483f-87fb-dda60a1eb600", "policies_count": 4, "timestamp": "2026-03-07T03:10:49.719Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20260307_031049.720 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "b4d2101e-c3cb-483f-87fb-dda60a1eb600", "policies_count": 4, "timestamp": "2026-03-07T03:10:49.719Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"} 20260307_031049.720 INFO MainThread mock-context-logger.test_remove_all_policies: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}} 20260307_031049.720 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2026-03-07T07:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "b4d2101e-c3cb-483f-87fb-dda60a1eb600", "policies_count": 4, "timestamp": "2026-03-07T03:10:49.719Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20260307_031049.720 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach", "monkeyed.Config_peach_2", "monkeyed.Config_both", "monkeyed.Config_multi"] 20260307_031049.721 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260307_031049.721 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", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiYWY1ODIzYjItNmNlYi00YzI2LTkzMTktODViNzNhNzczNWFiIiwgInBvbGljaWVzX2NvdW50IjogMCwgInRpbWVzdGFtcCI6ICIyMDI2LTAzLTA3VDAzOjEwOjQ5LjcyMVoiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}] 20260307_031049.721 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20260307_031049.722 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2026-03-07T07:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"update_id": "af5823b2-6ceb-4c26-9319-85b73a7735ab", "policies_count": 0, "timestamp": "2026-03-07T03:10:49.721Z", "action": "updated"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20260307_031049.722 INFO MainThread mock-context-logger.test_remove_all_policies: removed: ['monkeyed.Config_peach', 'monkeyed.Config_peach_2', 'monkeyed.Config_both', 'monkeyed.Config_multi'] 20260307_031049.722 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"update_id": "af5823b2-6ceb-4c26-9319-85b73a7735ab", "policies_count": 0, "timestamp": "2026-03-07T03:10:49.721Z", "action": "updated"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"} 20260307_031049.722 INFO MainThread mock-context-logger.test_remove_all_policies: expected = default application_config: {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20260307_031049.723 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260307_031049.736 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"execute_operation": "policy_update"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20260307_031049.736 ERROR MainThread mock-context-logger._update_policies: update_policies_on_ctx - no updated, added, or removed policies received 20260307_031049.736 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"execute_operation": "policy_update"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20260307_031049.736 INFO MainThread mock-context-logger.test_defenses_on_policy_update: policy_update() ok 20260307_031049.736 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260307_031049.741 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2026-03-07T07:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20260307_031049.742 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260307_031049.742 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20260307_031049.743 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", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiMjYxZGRlMDctNjMxOS00Y2NkLTkyOTktOGU5MTM4ZmI1Y2FjIiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI2LTAzLTA3VDAzOjEwOjQ5Ljc0MloiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0wN1QwMzoxMDo0OS40NzVaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5VmVyc2lvbiI6ICIxIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0wN1QwNjoxMDo0OS40NzVaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTA3VDA2OjEwOjQ5LjQ3NVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiNCJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMDdUMDQ6MTA6NDkuNDc1WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiJ9"}}] 20260307_031049.743 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2026-03-07T07:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "261dde07-6319-4ccd-9299-8e9138fb5cac", "policies_count": 4, "timestamp": "2026-03-07T03:10:49.742Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20260307_031049.743 INFO MainThread mock-context-logger.test_update_not_only_config: runtime_properties: {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "261dde07-6319-4ccd-9299-8e9138fb5cac", "policies_count": 4, "timestamp": "2026-03-07T03:10:49.742Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"} 20260307_031049.743 INFO MainThread mock-context-logger.test_update_not_only_config: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}} 20260307_031049.744 INFO MainThread mock-context-logger.test_update_not_only_config: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": true}] 20260307_031049.744 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: not yet in policies 20260307_031049.744 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_not_only_config test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2026-03-07T07:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "execute_operation": "policy_update_not_only_config", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "261dde07-6319-4ccd-9299-8e9138fb5cac", "policies_count": 4, "timestamp": "2026-03-07T03:10:49.742Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20260307_031049.745 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": true}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260307_031049.745 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": false}} 20260307_031049.745 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", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiNzEzNDMyYjQtMmMzNC00OGM3LThjNWItMDZlMmRlYjY5NTc3IiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI2LTAzLTA3VDAzOjEwOjQ5Ljc0NVoiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0wN1QwMzoxMDo0OS40NzVaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5VmVyc2lvbiI6ICIxIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogImFhMjAifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMDdUMDQ6MTA6NDkuNDc1WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTA3VDA2OjEwOjQ5LjQ3NVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiNCJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMDdUMDQ6MTA6NDkuNDc1WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMiIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20260307_031049.746 INFO MainThread mock-context-logger.policy_update_not_only_config: app_config {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20260307_031049.746 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_not_only_config test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2026-03-07T07:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "execute_operation": "policy_update_not_only_config", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": false}}, "policies_event": {"update_id": "713432b4-2c34-48c7-8c5b-06e2deb69577", "policies_count": 4, "timestamp": "2026-03-07T03:10:49.745Z", "action": "updated"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20260307_031049.746 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi]: removed 20260307_031049.746 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi_2", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": false} 20260307_031049.747 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": true} 20260307_031049.747 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}, "policy_persistent": true} 20260307_031049.747 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true} 20260307_031049.747 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}, "policy_persistent": true} 20260307_031049.747 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true} 20260307_031049.747 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260307_031049.762 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"execute_operation": "policy_update"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20260307_031049.762 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) 20260307_031049.762 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) 20260307_031049.762 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260307_031049.766 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2026-03-07T07:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20260307_031049.767 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260307_031049.768 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20260307_031049.768 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", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiYTU4NWRlYWUtNzgzNy00YzAzLTlmNzktODU1ZmZjNDc1NDYyIiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI2LTAzLTA3VDAzOjEwOjQ5Ljc2OFoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0wN1QwMzoxMDo0OS40NzVaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5VmVyc2lvbiI6ICIxIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0wN1QwNjoxMDo0OS40NzVaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTA3VDA2OjEwOjQ5LjQ3NVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiNCJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMDdUMDQ6MTA6NDkuNDc1WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiJ9"}}] 20260307_031049.769 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2026-03-07T07:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "a585deae-7837-4c03-9f79-855ffc475462", "policies_count": 4, "timestamp": "2026-03-07T03:10:49.768Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20260307_031049.769 INFO MainThread mock-context-logger.test_policies_to_node: runtime_properties: {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "a585deae-7837-4c03-9f79-855ffc475462", "policies_count": 4, "timestamp": "2026-03-07T03:10:49.768Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"} 20260307_031049.769 INFO MainThread mock-context-logger.test_policies_to_node: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}} 20260307_031049.769 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}, "policy_persistent": true} 20260307_031049.769 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true} 20260307_031049.769 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}, "policy_persistent": true} 20260307_031049.770 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true} 20260307_031049.770 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}, "policy_persistent": true} 20260307_031049.770 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true} 20260307_031049.770 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_multi]: {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": false} 20260307_031049.770 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_multi]: {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false} 20260307_031049.770 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260307_031049.780 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2026-03-07T07:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20260307_031049.781 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260307_031049.782 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20260307_031049.782 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", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiOWJmMThmN2QtMmU5Mi00MWI5LTlhNmYtOTA2MWExOTE1NmQ0IiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI2LTAzLTA3VDAzOjEwOjQ5Ljc4MloiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0wN1QwMzoxMDo0OS40NzVaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5VmVyc2lvbiI6ICIxIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0wN1QwNjoxMDo0OS40NzVaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTA3VDA2OjEwOjQ5LjQ3NVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiNCJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMDdUMDQ6MTA6NDkuNDc1WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiJ9"}}] 20260307_031049.782 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2026-03-07T07:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "9bf18f7d-2e92-41b9-9a6f-9061a19156d4", "policies_count": 4, "timestamp": "2026-03-07T03:10:49.782Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20260307_031049.783 INFO MainThread mock-context-logger.test_bad_update_many_calcs: runtime_properties: {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "9bf18f7d-2e92-41b9-9a6f-9061a19156d4", "policies_count": 4, "timestamp": "2026-03-07T03:10:49.782Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"} 20260307_031049.783 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}} 20260307_031049.783 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! ", "config": ["damaged config"], "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": true}] 20260307_031049.783 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260307_031049.783 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2026-03-07T07:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "9bf18f7d-2e92-41b9-9a6f-9061a19156d4", "policies_count": 4, "timestamp": "2026-03-07T03:10:49.782Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20260307_031049.784 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! ", "config": ["damaged config"], "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": true}], added_policies: {"dcae_policies_b_5_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"none": null, "unexpected": "foo"}, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260307_031049.784 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"none": null, "unexpected": "foo"}, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": false}} 20260307_031049.785 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", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiMTg3NDhhMTMtNzQ0YS00MzMzLTgwZDgtZDQ1NmJkOTc0ZmE3IiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI2LTAzLTA3VDAzOjEwOjQ5Ljc4NFoiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0wN1QwMzoxMDo0OS40NzVaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5VmVyc2lvbiI6ICIxIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogImFhMjAifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IFsiZGFtYWdlZCBjb25maWciXSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTA3VDA2OjEwOjQ5LjQ3NVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiNCJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgImNvbmZpZyI6IHsibm9uZSI6IG51bGwsICJ1bmV4cGVjdGVkIjogImZvbyJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIuMi54bWwiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ=="}}] 20260307_031049.785 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20260307_031049.786 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2026-03-07T07:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "execute_operation": "policy_update_many_calcs", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! ", "config": ["damaged config"], "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"none": null, "unexpected": "foo"}, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": false}}, "policies_event": {"update_id": "18748a13-744a-4333-80d8-d456bd974fa7", "policies_count": 4, "timestamp": "2026-03-07T03:10:49.784Z", "action": "updated"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20260307_031049.786 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260307_031049.786 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"none": null, "unexpected": "foo"}, "type": "JSON", "policyName": "monkeyed.Config_multi_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": false} 20260307_031049.786 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "aa20"}, "policyConfigMessage": "Config Retrieved! ", "config": ["damaged config"], "type": "JSON", "policyName": "monkeyed.Config_peach_2.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}, "policy_persistent": true} 20260307_031049.786 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}, "policy_persistent": true} 20260307_031049.786 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true} 20260307_031049.787 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}, "policy_persistent": true} 20260307_031049.787 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true} 20260307_031049.787 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260307_031049.802 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2026-03-07T07:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20260307_031049.803 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260307_031049.803 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20260307_031049.803 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", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiNzJmODExZjItNzExYi00NDdjLWFlZWItYjQ2NjBkYzYzNTE5IiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI2LTAzLTA3VDAzOjEwOjQ5LjgwM1oiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0wN1QwMzoxMDo0OS40NzVaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5VmVyc2lvbiI6ICIxIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0wN1QwNjoxMDo0OS40NzVaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTA3VDA2OjEwOjQ5LjQ3NVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiNCJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMDdUMDQ6MTA6NDkuNDc1WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiJ9"}}] 20260307_031049.804 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2026-03-07T07:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "72f811f2-711b-447c-aeeb-b4660dc63519", "policies_count": 4, "timestamp": "2026-03-07T03:10:49.803Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20260307_031049.804 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "72f811f2-711b-447c-aeeb-b4660dc63519", "policies_count": 4, "timestamp": "2026-03-07T03:10:49.803Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"} 20260307_031049.804 INFO MainThread mock-context-logger.test_remove_all_policies_twice: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}} 20260307_031049.805 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2026-03-07T07:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "72f811f2-711b-447c-aeeb-b4660dc63519", "policies_count": 4, "timestamp": "2026-03-07T03:10:49.803Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20260307_031049.805 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach", "monkeyed.Config_peach_2", "monkeyed.Config_both", "monkeyed.Config_multi"] 20260307_031049.805 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260307_031049.806 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", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiMGU2YjgwOWMtZTlmOS00NDhlLWJkYjUtZTg0NDU3MjE3MWM2IiwgInBvbGljaWVzX2NvdW50IjogMCwgInRpbWVzdGFtcCI6ICIyMDI2LTAzLTA3VDAzOjEwOjQ5LjgwNloiLCAiYWN0aW9uIjogInVwZGF0ZWQifQ=="}}] 20260307_031049.806 INFO MainThread mock-context-logger.policy_update: app_config {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20260307_031049.807 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2026-03-07T07:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"update_id": "0e6b809c-e9f9-448e-bdb5-e844572171c6", "policies_count": 0, "timestamp": "2026-03-07T03:10:49.806Z", "action": "updated"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20260307_031049.807 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2026-03-07T07:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"update_id": "0e6b809c-e9f9-448e-bdb5-e844572171c6", "policies_count": 0, "timestamp": "2026-03-07T03:10:49.806Z", "action": "updated"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20260307_031049.807 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach", "monkeyed.Config_peach_2", "monkeyed.Config_both", "monkeyed.Config_multi"] 20260307_031049.807 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260307_031049.808 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2026-03-07T07:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"update_id": "0e6b809c-e9f9-448e-bdb5-e844572171c6", "policies_count": 0, "timestamp": "2026-03-07T03:10:49.806Z", "action": "updated"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20260307_031049.808 INFO MainThread mock-context-logger.test_remove_all_policies_twice: removed: ['monkeyed.Config_peach', 'monkeyed.Config_peach_2', 'monkeyed.Config_both', 'monkeyed.Config_multi'] 20260307_031049.808 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "execute_operation": "policy_update", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}, "policies_event": {"update_id": "0e6b809c-e9f9-448e-bdb5-e844572171c6", "policies_count": 0, "timestamp": "2026-03-07T03:10:49.806Z", "action": "updated"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"} 20260307_031049.808 INFO MainThread mock-context-logger.test_remove_all_policies_twice: expected = default application_config: {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20260307_031049.808 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260307_031049.827 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2026-03-07T07:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20260307_031049.828 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260307_031049.828 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20260307_031049.829 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", "Key": "unit_test_scn:policies/event", "Value": "eyJ1cGRhdGVfaWQiOiAiMDM2ZTg2ODItOWFhZC00OGMyLTk3YWEtNGE1OWNmNjc0ODhhIiwgInBvbGljaWVzX2NvdW50IjogNCwgInRpbWVzdGFtcCI6ICIyMDI2LTAzLTA3VDAzOjEwOjQ5LjgyOVoiLCAiYWN0aW9uIjogImdhdGhlcmVkIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiMSIsICJwb2xpY3lfaGVsbG8iOiAiTG9yZW0iLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0wN1QwMzoxMDo0OS40NzVaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIwIn0sICJ0eXBlIjogIkpTT04iLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5VmVyc2lvbiI6ICIxIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjIifSwgInBvbGljeUNvbmZpZ01lc3NhZ2UiOiAiQ29uZmlnIFJldHJpZXZlZCEgIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJjb25maWciOiB7InBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV9oZWxsbyI6ICJzaXQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMy0wN1QwNjoxMDo0OS40NzVaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMifSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lWZXJzaW9uIjogIjQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIiwgInByaW9yaXR5IjogIjEuNSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTAzLTA3VDA2OjEwOjQ5LjQ3NVoiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGgiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiNCJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDMtMDdUMDQ6MTA6NDkuNDc1WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMSJ9LCAidHlwZSI6ICJKU09OIiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeVZlcnNpb24iOiAiMiJ9"}}] 20260307_031049.829 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2026-03-07T07:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "036e8682-9aad-48c2-97aa-4a59cf67488a", "policies_count": 4, "timestamp": "2026-03-07T03:10:49.829Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20260307_031049.829 INFO MainThread mock-context-logger.test_delete_node_no_consul: runtime_properties: {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "036e8682-9aad-48c2-97aa-4a59cf67488a", "policies_count": 4, "timestamp": "2026-03-07T03:10:49.829Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_configure"} 20260307_031049.830 INFO MainThread mock-context-logger.test_delete_node_no_consul: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}} 20260307_031049.830 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2026-03-07T07:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "036e8682-9aad-48c2-97aa-4a59cf67488a", "policies_count": 4, "timestamp": "2026-03-07T03:10:49.829Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_delete"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20260307_031049.830 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/"}}] 20260307_031049.830 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260307_031049.831 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"} 20260307_031049.831 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"instance": {"relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_peach.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}, "id": "dcae_policy_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}, "id": "dcae_policy_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_2_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_peach_2.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_node_id_2"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "dcae_policy_node_name_2", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_3_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}, "id": "bad_policy_3_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "bad_policy_4_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "bad_policy_4_node_name", "properties": {}, "id": "bad_policy_4_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_peach.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}, "id": "weird_policy_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "weird_policy_5_node_name", "properties": {}, "id": "weird_policy_5_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "3", "policy_hello": "dolor", "policy_updated_ts": "2026-03-07T05:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "2"}, "type": "JSON", "policyName": "monkeyed.Config_multi.3.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "3", "responseAttributes": {}}}}}, "id": "dcae_policies_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}, "id": "dcae_policies_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_multi.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}, "id": "dcae_policies_empty_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "dcae_policies_empty_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_empty_2_node_name", "properties": {}, "id": "dcae_policies_empty_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {}, "id": "non_policies_node_id"}, "node": {"type_hierarchy": ["non.policy.type"], "name": "non_policies_node_name", "properties": {}, "id": "non_policies_node_name", "type": "non.policy.type"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "0"}, "type": "JSON", "policyName": "monkeyed.Config_both.1.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1", "responseAttributes": {}}}}}, "id": "dcae_policies_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "1"}, "type": "JSON", "policyName": "monkeyed.Config_both.2.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2", "responseAttributes": {}}}}}, "id": "dcae_policies_b_2_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_2_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyName": "monkeyed.Config_both.4.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4", "responseAttributes": {}}}, "id": "dcae_policy_b_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policy"], "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}, "id": "dcae_policy_b_node_name", "type": "dcae.nodes.policy"}}, "type": "cloudify.relationships.depends_on"}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "target": {"instance": {"relationships": [], "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "config": {"policy_updated_to_ver": "5", "policy_hello": "amet", "policy_updated_ts": "2026-03-07T07:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "4"}, "type": "JSON", "policyName": "monkeyed.Config_both.5.xml", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "5", "responseAttributes": {}}}}}, "id": "dcae_policies_b_5_node_id"}, "node": {"type_hierarchy": ["dcae.nodes.policies"], "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "id": "dcae_policies_b_5_node_name", "type": "dcae.nodes.policies"}}, "type": "cloudify.relationships.depends_on"}], "runtime_properties": {"policy_filters": {"dcae_policies_b_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_2_node_id": {"policy_filter_id": "dcae_policies_b_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}}, "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_to_ver": "1", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach", "policy_updated_from_ver": "0"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "1"}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "2"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_peach_2", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name", "priority": "1.5"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_to_ver": "4", "policy_hello": "sit", "policy_updated_ts": "2026-03-07T06:10:49.475Z", "updated_policy_id": "monkeyed.Config_both", "policy_updated_from_ver": "3"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "4"}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_to_ver": "2", "policy_hello": "ipsum", "policy_updated_ts": "2026-03-07T04:10:49.475Z", "updated_policy_id": "monkeyed.Config_multi", "policy_updated_from_ver": "1"}, "type": "JSON", "policyConfigStatus": "CONFIG_RETRIEVED", "property": null, "policyVersion": "2"}, "policy_persistent": false}}, "policies_event": {"update_id": "036e8682-9aad-48c2-97aa-4a59cf67488a", "policies_count": 4, "timestamp": "2026-03-07T03:10:49.829Z", "action": "gathered"}, "service_component_name": "unit_test_scn", "application_config": {"policy_updated_ts": "2026-03-07T03:10:49.475Z", "policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "weather": "snow"}, "exe_task": "node_delete"}, "id": "test_ms_id"}, "task_name": null, "plugin": {"prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "name": "", "package_version": null, "package_name": null, "workdir": null}, "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null, "deployment.id": "test_dcae_policy_dpl_id", "workflow_id": null, "node": {"type_hierarchy": ["ms.nodes.type"], "name": "test_ms_name", "properties": {"application_config": {"policy_updated_to_ver": "1", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "db_port": "123", "policy_hello": "Lorem", "policy_updated_ts": "2026-03-07T03:10:49.475Z", "weather": "snow"}}, "id": "test_ms_name", "type": "ms.nodes.type"}, "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "type": "node-instance", "operation": {"name": null, "max_retries": null, "retry_number": null}} 20260307_031049.831 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260307_031049.845 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 20260307_031049.845 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear