20260530_031144.545 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T07:11:44.520Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null} 20260530_031144.547 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260530_031144.547 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"} 20260530_031144.547 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": {"Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0zMFQwMzoxMTo0NC41NDdaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiYjIwYjJjN2ItZWUxNi00Y2MzLWI1ZmYtNTE5MTVmNmY3NTRjIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0zMFQwMzoxMTo0NC41MjBaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTMwVDA2OjExOjQ0LjUyMFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTMwVDA2OjExOjQ0LjUyMFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicHJvcGVydHkiOiBudWxsfQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0zMFQwNDoxMTo0NC41MjBaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260530_031144.548 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-05-30T03:11:44.547Z", "action": "gathered", "update_id": "b20b2c7b-ee16-4cc3-b5ff-51915f6f754c"}, "application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T07:11:44.520Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null} 20260530_031144.548 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-05-30T03:11:44.547Z", "action": "gathered", "update_id": "b20b2c7b-ee16-4cc3-b5ff-51915f6f754c"}, "application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false}}} 20260530_031144.548 INFO MainThread mock-context-logger.test_update_policies_not: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false}} 20260530_031144.549 INFO MainThread mock-context-logger.test_update_policies_not: app_config: {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"} 20260530_031144.549 INFO MainThread mock-context-logger.test_update_policies_not: policy_update: [{"policy_id": "monkeyed.Config_multi_3", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_3.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi_3", "policy_hello": "dolor"}, "property": null}}] 20260530_031144.549 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-05-30T03:11:44.547Z", "action": "gathered", "update_id": "b20b2c7b-ee16-4cc3-b5ff-51915f6f754c"}, "application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "execute_operation": "policy_update", "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T07:11:44.520Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null} 20260530_031144.550 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, {"policy_id": "monkeyed.Config_multi_3", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_3.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi_3", "policy_hello": "dolor"}, "property": null}}], added_policies: {"dcae_policies_2_node_id": {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}}}, "<<>>": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.4.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "sit"}, "property": null}}}}}, removed_policies: ["<<>>"] 20260530_031144.550 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}} 20260530_031144.550 INFO MainThread mock-context-logger._update_policies: skipped updates on policies: {"same": [{"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}], "ignored": [{"policy_id": "monkeyed.Config_multi_3", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_3.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi_3", "policy_hello": "dolor"}, "property": null}}], "duplicate": [], "unexpected": [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}, {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}}]} 20260530_031144.550 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-05-30T03:11:44.547Z", "action": "gathered", "update_id": "b20b2c7b-ee16-4cc3-b5ff-51915f6f754c"}, "application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "execute_operation": "policy_update", "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T07:11:44.520Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null} 20260530_031144.551 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-05-30T03:11:44.547Z", "action": "gathered", "update_id": "b20b2c7b-ee16-4cc3-b5ff-51915f6f754c"}, "application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "execute_operation": "policy_update", "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false}}} 20260530_031144.551 INFO MainThread mock-context-logger.test_update_policies_not: policies not changed: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false}} 20260530_031144.551 INFO MainThread mock-context-logger.test_update_policies_not: app_config not changed: {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"} 20260530_031144.551 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260530_031144.562 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T07:11:44.520Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null} 20260530_031144.563 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260530_031144.563 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"} 20260530_031144.564 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": {"Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0zMFQwMzoxMTo0NC41NjRaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiNDQ1YmU2MTUtNzNlYS00YTlhLWFlZDgtMjlhM2U0YWUxZGJlIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0zMFQwMzoxMTo0NC41MjBaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTMwVDA2OjExOjQ0LjUyMFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTMwVDA2OjExOjQ0LjUyMFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicHJvcGVydHkiOiBudWxsfQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0zMFQwNDoxMTo0NC41MjBaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260530_031144.564 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-05-30T03:11:44.564Z", "action": "gathered", "update_id": "445be615-73ea-4a9a-aed8-29a3e4ae1dbe"}, "application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T07:11:44.520Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null} 20260530_031144.564 INFO MainThread mock-context-logger.test_delete_node_no_consul: runtime_properties: {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-05-30T03:11:44.564Z", "action": "gathered", "update_id": "445be615-73ea-4a9a-aed8-29a3e4ae1dbe"}, "application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false}}} 20260530_031144.565 INFO MainThread mock-context-logger.test_delete_node_no_consul: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false}} 20260530_031144.565 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-05-30T03:11:44.564Z", "action": "gathered", "update_id": "445be615-73ea-4a9a-aed8-29a3e4ae1dbe"}, "application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "exe_task": "node_delete", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T07:11:44.520Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null} 20260530_031144.565 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/"}}] 20260530_031144.566 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260530_031144.566 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"} 20260530_031144.566 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-05-30T03:11:44.564Z", "action": "gathered", "update_id": "445be615-73ea-4a9a-aed8-29a3e4ae1dbe"}, "application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "exe_task": "node_delete", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T07:11:44.520Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null} 20260530_031144.566 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260530_031144.580 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 20260530_031144.580 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260530_031144.584 INFO MainThread mock-context-logger.test_delete_bad_config: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20260530_031144.584 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "delete_node_empty"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T07:11:44.520Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null} 20260530_031144.585 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/"}}] 20260530_031144.585 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260530_031144.585 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"} 20260530_031144.585 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "exe_task": "node_delete", "policies_event": {}, "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T07:11:44.520Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null} 20260530_031144.585 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260530_031144.593 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T07:11:44.520Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null} 20260530_031144.594 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260530_031144.595 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"} 20260530_031144.595 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": {"Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0zMFQwMzoxMTo0NC41OTVaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiYTY2MWJiYjktZDAyYi00N2FkLWIxYmItNmU5Nzc5ZTRkNzA3In0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0zMFQwMzoxMTo0NC41MjBaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTMwVDA2OjExOjQ0LjUyMFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTMwVDA2OjExOjQ0LjUyMFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicHJvcGVydHkiOiBudWxsfQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0zMFQwNDoxMTo0NC41MjBaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260530_031144.595 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-05-30T03:11:44.595Z", "action": "gathered", "update_id": "a661bbb9-d02b-47ad-b1bb-6e9779e4d707"}, "application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T07:11:44.520Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null} 20260530_031144.596 INFO MainThread mock-context-logger.test_update_not_only_config: runtime_properties: {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-05-30T03:11:44.595Z", "action": "gathered", "update_id": "a661bbb9-d02b-47ad-b1bb-6e9779e4d707"}, "application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false}}} 20260530_031144.596 INFO MainThread mock-context-logger.test_update_not_only_config: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false}} 20260530_031144.596 INFO MainThread mock-context-logger.test_update_not_only_config: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": true}] 20260530_031144.596 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: not yet in policies 20260530_031144.596 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_not_only_config test_ms_id context: {"workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-05-30T03:11:44.595Z", "action": "gathered", "update_id": "a661bbb9-d02b-47ad-b1bb-6e9779e4d707"}, "application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "execute_operation": "policy_update_not_only_config", "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T07:11:44.520Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null} 20260530_031144.597 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": true}], added_policies: {"dcae_policies_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260530_031144.597 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}} 20260530_031144.597 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": {"Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0zMFQwMzoxMTo0NC41OTdaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICI2NDAxNzIyNS1hNWFmLTRiN2EtYWU5Ny1kZjhmYjYxODZiY2EifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0zMFQwMzoxMTo0NC41MjBaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTMwVDA2OjExOjQ0LjUyMFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogImFhMjAiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0zMFQwNDoxMTo0NC41MjBaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0zMFQwNDoxMTo0NC41MjBaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}] 20260530_031144.598 INFO MainThread mock-context-logger.policy_update_not_only_config: app_config {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"} 20260530_031144.598 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_not_only_config test_ms_id context: {"workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-05-30T03:11:44.597Z", "action": "updated", "update_id": "64017225-a5af-4b7a-ae97-df8fb6186bca"}, "application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "execute_operation": "policy_update_not_only_config", "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T07:11:44.520Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null} 20260530_031144.599 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi]: removed 20260530_031144.599 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false} 20260530_031144.599 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": true} 20260530_031144.599 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true} 20260530_031144.599 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true} 20260530_031144.599 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true} 20260530_031144.600 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true} 20260530_031144.600 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260530_031144.616 INFO MainThread mock-context-logger.test_delete_node_empty_config: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20260530_031144.617 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "delete_node_empty"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T07:11:44.520Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null} 20260530_031144.617 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/"}}] 20260530_031144.617 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260530_031144.617 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"} 20260530_031144.618 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "exe_task": "node_delete", "policies_event": {}, "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T07:11:44.520Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null} 20260530_031144.618 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260530_031144.625 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 20260530_031144.625 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260530_031144.628 INFO MainThread mock-context-logger.test_delete_node_lost_scn: runtime_properties: {"policies_event": {}} 20260530_031144.629 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "policies_event": {}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T07:11:44.520Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null} 20260530_031144.629 WARNING MainThread mock-context-logger.delete_policies: failed to find service_component_name to delete_policies in consul-kv 20260530_031144.629 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260530_031144.629 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"} 20260530_031144.630 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"service_component_name": "unit_test_scn", "exe_task": "node_delete", "policies_event": {}, "application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T07:11:44.520Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null} 20260530_031144.630 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260530_031144.638 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T07:11:44.520Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null} 20260530_031144.639 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260530_031144.639 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"} 20260530_031144.639 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": {"Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0zMFQwMzoxMTo0NC42MzlaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiZDY0OTliYmUtYzcyMS00ZTZlLTg2OGEtN2FmNmI2YzMyOTc5In0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0zMFQwMzoxMTo0NC41MjBaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTMwVDA2OjExOjQ0LjUyMFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTMwVDA2OjExOjQ0LjUyMFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicHJvcGVydHkiOiBudWxsfQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0zMFQwNDoxMTo0NC41MjBaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260530_031144.640 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-05-30T03:11:44.639Z", "action": "gathered", "update_id": "d6499bbe-c721-4e6e-868a-7af6b6c32979"}, "application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T07:11:44.520Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null} 20260530_031144.640 INFO MainThread mock-context-logger.test_bad_update_many_calcs: runtime_properties: {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-05-30T03:11:44.639Z", "action": "gathered", "update_id": "d6499bbe-c721-4e6e-868a-7af6b6c32979"}, "application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false}}} 20260530_031144.640 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false}} 20260530_031144.640 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": ["damaged config"], "property": null}, "policy_persistent": true}] 20260530_031144.640 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260530_031144.641 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-05-30T03:11:44.639Z", "action": "gathered", "update_id": "d6499bbe-c721-4e6e-868a-7af6b6c32979"}, "application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "execute_operation": "policy_update_many_calcs", "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T07:11:44.520Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null} 20260530_031144.641 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": ["damaged config"], "property": null}, "policy_persistent": true}], added_policies: {"dcae_policies_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"none": null, "unexpected": "foo"}, "property": null}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260530_031144.641 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"none": null, "unexpected": "foo"}, "property": null}, "policy_persistent": false}} 20260530_031144.642 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": {"Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0zMFQwMzoxMTo0NC42NDFaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICJiY2Y0Y2Y1My0yMWZkLTRhOTktOTBiNi03ODYzNmZmZDM5NmQifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0zMFQwMzoxMTo0NC41MjBaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTMwVDA2OjExOjQ0LjUyMFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogImFhMjAiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IFsiZGFtYWdlZCBjb25maWciXSwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsibm9uZSI6IG51bGwsICJ1bmV4cGVjdGVkIjogImZvbyJ9LCAicHJvcGVydHkiOiBudWxsfQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}] 20260530_031144.642 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"} 20260530_031144.643 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-05-30T03:11:44.641Z", "action": "updated", "update_id": "bcf4cf53-21fd-4a99-90b6-78636ffd396d"}, "application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "execute_operation": "policy_update_many_calcs", "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": ["damaged config"], "property": null}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"none": null, "unexpected": "foo"}, "property": null}, "policy_persistent": false}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T07:11:44.520Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null} 20260530_031144.643 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260530_031144.643 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"none": null, "unexpected": "foo"}, "property": null}, "policy_persistent": false} 20260530_031144.643 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": ["damaged config"], "property": null}, "policy_persistent": true} 20260530_031144.643 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true} 20260530_031144.643 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true} 20260530_031144.644 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true} 20260530_031144.644 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true} 20260530_031144.644 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260530_031144.660 INFO MainThread mock-context-logger.test_delete_node_empty: runtime_properties: {} 20260530_031144.660 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T07:11:44.520Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null} 20260530_031144.660 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260530_031144.661 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"} 20260530_031144.661 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T07:11:44.520Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null} 20260530_031144.661 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260530_031144.668 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null} 20260530_031144.668 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260530_031144.668 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"} 20260530_031144.669 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "exe_task": "node_configure", "application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null} 20260530_031144.669 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", "application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "service_component_name": "unit_test_scn"} 20260530_031144.669 INFO MainThread mock-context-logger.test_defenses_on_set_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20260530_031144.669 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260530_031144.674 INFO MainThread mock-context-logger.test_delete_ms_no_consul_addr: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20260530_031144.674 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "delete_node_empty"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T07:11:44.520Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null} 20260530_031144.674 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/"}}] 20260530_031144.675 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260530_031144.675 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"} 20260530_031144.675 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "exe_task": "node_delete", "policies_event": {}, "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T07:11:44.520Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null} 20260530_031144.675 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260530_031144.682 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null} 20260530_031144.682 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260530_031144.683 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"} 20260530_031144.683 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "exe_task": "node_configure", "application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null} 20260530_031144.683 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", "application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "service_component_name": "unit_test_scn"} 20260530_031144.683 INFO MainThread mock-context-logger.test_bad_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20260530_031144.683 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260530_031144.688 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T07:11:44.520Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null} 20260530_031144.689 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260530_031144.690 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"} 20260530_031144.690 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": {"Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0zMFQwMzoxMTo0NC42OTBaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiNDk1Yzg0OTgtNjhlMi00NTVhLTlkNjAtNTlmMWM0NTk3YWRhIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0zMFQwMzoxMTo0NC41MjBaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTMwVDA2OjExOjQ0LjUyMFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTMwVDA2OjExOjQ0LjUyMFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicHJvcGVydHkiOiBudWxsfQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0zMFQwNDoxMTo0NC41MjBaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260530_031144.690 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-05-30T03:11:44.690Z", "action": "gathered", "update_id": "495c8498-68e2-455a-9d60-59f1c4597ada"}, "application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T07:11:44.520Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null} 20260530_031144.691 INFO MainThread mock-context-logger.test_gather_policies_to_node: runtime_properties: {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-05-30T03:11:44.690Z", "action": "gathered", "update_id": "495c8498-68e2-455a-9d60-59f1c4597ada"}, "application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false}}} 20260530_031144.691 INFO MainThread mock-context-logger.test_gather_policies_to_node: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false}} 20260530_031144.691 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260530_031144.700 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T07:11:44.520Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null} 20260530_031144.701 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260530_031144.702 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"} 20260530_031144.702 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": {"Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0zMFQwMzoxMTo0NC43MDJaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiNjJiZmU5YWMtMzJkOC00ODg5LTllODgtMjU3ZDI4MWQ2YjJmIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0zMFQwMzoxMTo0NC41MjBaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTMwVDA2OjExOjQ0LjUyMFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTMwVDA2OjExOjQ0LjUyMFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicHJvcGVydHkiOiBudWxsfQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0zMFQwNDoxMTo0NC41MjBaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260530_031144.702 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-05-30T03:11:44.702Z", "action": "gathered", "update_id": "62bfe9ac-32d8-4889-9e88-257d281d6b2f"}, "application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T07:11:44.520Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null} 20260530_031144.703 INFO MainThread mock-context-logger.test_update_many_calcs: runtime_properties: {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-05-30T03:11:44.702Z", "action": "gathered", "update_id": "62bfe9ac-32d8-4889-9e88-257d281d6b2f"}, "application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false}}} 20260530_031144.703 INFO MainThread mock-context-logger.test_update_many_calcs: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false}} 20260530_031144.703 INFO MainThread mock-context-logger.test_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": true}] 20260530_031144.703 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260530_031144.704 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-05-30T03:11:44.702Z", "action": "gathered", "update_id": "62bfe9ac-32d8-4889-9e88-257d281d6b2f"}, "application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "execute_operation": "policy_update_many_calcs", "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T07:11:44.520Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null} 20260530_031144.704 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": true}], added_policies: {"dcae_policies_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260530_031144.704 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}} 20260530_031144.704 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": {"Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0zMFQwMzoxMTo0NC43MDRaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICJkMmQxZTFlYS1iMGRiLTRjZTUtOWZiZi00MThhYjRjMjk3YzAifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0zMFQwMzoxMTo0NC41MjBaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTMwVDA2OjExOjQ0LjUyMFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogImFhMjAiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0zMFQwNDoxMTo0NC41MjBaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0zMFQwNDoxMTo0NC41MjBaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}] 20260530_031144.705 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"} 20260530_031144.705 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-05-30T03:11:44.704Z", "action": "updated", "update_id": "d2d1e1ea-b0db-4ce5-9fbf-418ab4c297c0"}, "application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "execute_operation": "policy_update_many_calcs", "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T07:11:44.520Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null} 20260530_031144.706 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260530_031144.706 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false} 20260530_031144.706 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": true} 20260530_031144.706 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true} 20260530_031144.706 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true} 20260530_031144.706 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true} 20260530_031144.707 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true} 20260530_031144.707 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260530_031144.722 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null} 20260530_031144.723 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) 20260530_031144.723 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) 20260530_031144.723 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260530_031144.727 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T07:11:44.520Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null} 20260530_031144.728 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260530_031144.729 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"} 20260530_031144.729 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": {"Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0zMFQwMzoxMTo0NC43MjlaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiMjc3NDk2ZTUtYmE1My00NWJjLTlkYjEtOWViYTZiYWZhODQ5In0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0zMFQwMzoxMTo0NC41MjBaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTMwVDA2OjExOjQ0LjUyMFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTMwVDA2OjExOjQ0LjUyMFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicHJvcGVydHkiOiBudWxsfQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0zMFQwNDoxMTo0NC41MjBaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260530_031144.729 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-05-30T03:11:44.729Z", "action": "gathered", "update_id": "277496e5-ba53-45bc-9db1-9eba6bafa849"}, "application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T07:11:44.520Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null} 20260530_031144.730 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-05-30T03:11:44.729Z", "action": "gathered", "update_id": "277496e5-ba53-45bc-9db1-9eba6bafa849"}, "application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false}}} 20260530_031144.730 INFO MainThread mock-context-logger.test_remove_all_policies_twice: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false}} 20260530_031144.731 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-05-30T03:11:44.729Z", "action": "gathered", "update_id": "277496e5-ba53-45bc-9db1-9eba6bafa849"}, "application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "execute_operation": "policy_update", "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T07:11:44.520Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null} 20260530_031144.731 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach", "monkeyed.Config_both", "monkeyed.Config_peach_2", "monkeyed.Config_multi"] 20260530_031144.731 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260530_031144.731 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": {"Value": "eyJwb2xpY2llc19jb3VudCI6IDAsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0zMFQwMzoxMTo0NC43MzFaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICJmNjIyZDYxYS0yZTNhLTQ5NjktYmRjZi1jODM5MDg3MWQ4ZjUifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}] 20260530_031144.732 INFO MainThread mock-context-logger.policy_update: app_config {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"} 20260530_031144.732 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 0, "timestamp": "2026-05-30T03:11:44.731Z", "action": "updated", "update_id": "f622d61a-2e3a-4969-bdcf-c8390871d8f5"}, "application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "execute_operation": "policy_update", "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T07:11:44.520Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null} 20260530_031144.733 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 0, "timestamp": "2026-05-30T03:11:44.731Z", "action": "updated", "update_id": "f622d61a-2e3a-4969-bdcf-c8390871d8f5"}, "application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "execute_operation": "policy_update", "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T07:11:44.520Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null} 20260530_031144.733 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach", "monkeyed.Config_both", "monkeyed.Config_peach_2", "monkeyed.Config_multi"] 20260530_031144.733 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260530_031144.734 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 0, "timestamp": "2026-05-30T03:11:44.731Z", "action": "updated", "update_id": "f622d61a-2e3a-4969-bdcf-c8390871d8f5"}, "application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "execute_operation": "policy_update", "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T07:11:44.520Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null} 20260530_031144.734 INFO MainThread mock-context-logger.test_remove_all_policies_twice: removed: ['monkeyed.Config_peach', 'monkeyed.Config_both', 'monkeyed.Config_peach_2', 'monkeyed.Config_multi'] 20260530_031144.734 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 0, "timestamp": "2026-05-30T03:11:44.731Z", "action": "updated", "update_id": "f622d61a-2e3a-4969-bdcf-c8390871d8f5"}, "application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "execute_operation": "policy_update", "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}} 20260530_031144.734 INFO MainThread mock-context-logger.test_remove_all_policies_twice: expected = default application_config: {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"} 20260530_031144.734 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260530_031144.753 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T07:11:44.520Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null} 20260530_031144.754 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260530_031144.754 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"} 20260530_031144.755 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": {"Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0zMFQwMzoxMTo0NC43NTVaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiMTVlODE3ZjMtZGRiZi00Y2Q0LThkZDMtNDRjMTg3NWM5Y2E1In0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0zMFQwMzoxMTo0NC41MjBaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTMwVDA2OjExOjQ0LjUyMFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTMwVDA2OjExOjQ0LjUyMFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicHJvcGVydHkiOiBudWxsfQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0zMFQwNDoxMTo0NC41MjBaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260530_031144.755 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-05-30T03:11:44.755Z", "action": "gathered", "update_id": "15e817f3-ddbf-4cd4-8dd3-44c1875c9ca5"}, "application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T07:11:44.520Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null} 20260530_031144.755 INFO MainThread mock-context-logger.test_policies_to_node: runtime_properties: {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-05-30T03:11:44.755Z", "action": "gathered", "update_id": "15e817f3-ddbf-4cd4-8dd3-44c1875c9ca5"}, "application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false}}} 20260530_031144.756 INFO MainThread mock-context-logger.test_policies_to_node: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false}} 20260530_031144.756 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true} 20260530_031144.756 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true} 20260530_031144.756 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}, "policy_persistent": true} 20260530_031144.756 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true} 20260530_031144.756 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}, "policy_persistent": true} 20260530_031144.757 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true} 20260530_031144.757 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_multi]: {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false} 20260530_031144.757 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_multi]: {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false} 20260530_031144.757 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260530_031144.769 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T07:11:44.520Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null} 20260530_031144.770 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260530_031144.770 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"} 20260530_031144.771 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": {"Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0zMFQwMzoxMTo0NC43NzFaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiMGU1NWM4YTUtMGIxMS00ZWI1LWIwMzQtOTQ0Zjg2OWVkMDU1In0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0zMFQwMzoxMTo0NC41MjBaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTMwVDA2OjExOjQ0LjUyMFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTMwVDA2OjExOjQ0LjUyMFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicHJvcGVydHkiOiBudWxsfQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0zMFQwNDoxMTo0NC41MjBaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260530_031144.771 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-05-30T03:11:44.771Z", "action": "gathered", "update_id": "0e55c8a5-0b11-4eb5-b034-944f869ed055"}, "application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T07:11:44.520Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null} 20260530_031144.772 INFO MainThread mock-context-logger.test_remove_update_many_calcs: runtime_properties: {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-05-30T03:11:44.771Z", "action": "gathered", "update_id": "0e55c8a5-0b11-4eb5-b034-944f869ed055"}, "application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false}}} 20260530_031144.772 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false}} 20260530_031144.772 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-05-30T03:11:44.771Z", "action": "gathered", "update_id": "0e55c8a5-0b11-4eb5-b034-944f869ed055"}, "application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "execute_operation": "policy_update_many_calcs", "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T07:11:44.520Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null} 20260530_031144.772 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach", "monkeyed.Config_both", "monkeyed.Config_peach_2", "monkeyed.Config_multi"] 20260530_031144.773 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260530_031144.773 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": {"Value": "eyJwb2xpY2llc19jb3VudCI6IDAsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0zMFQwMzoxMTo0NC43NzNaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICJmOGY3ZjExNi05OTJlLTQxZWQtODc5My02MGE4NDIxNDgyYTcifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}] 20260530_031144.773 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"} 20260530_031144.774 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 0, "timestamp": "2026-05-30T03:11:44.773Z", "action": "updated", "update_id": "f8f7f116-992e-41ed-8793-60a8421482a7"}, "application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "execute_operation": "policy_update_many_calcs", "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T07:11:44.520Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null} 20260530_031144.774 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20260530_031144.774 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": true}] 20260530_031144.774 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260530_031144.775 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 0, "timestamp": "2026-05-30T03:11:44.773Z", "action": "updated", "update_id": "f8f7f116-992e-41ed-8793-60a8421482a7"}, "application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "execute_operation": "policy_update_many_calcs", "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T07:11:44.520Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null} 20260530_031144.775 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": true}], added_policies: {"dcae_policies_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260530_031144.775 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}} 20260530_031144.776 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": {"Value": "eyJwb2xpY2llc19jb3VudCI6IDIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0zMFQwMzoxMTo0NC43NzVaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICJiZjk1ZWFlMi04ZWRiLTRjZDUtOWFiZS0yNmYwMTlmMDQ3YmIifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0zMFQwNDoxMTo0NC41MjBaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogImFhMjAiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0zMFQwNDoxMTo0NC41MjBaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20260530_031144.776 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"} 20260530_031144.776 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 2, "timestamp": "2026-05-30T03:11:44.775Z", "action": "updated", "update_id": "bf95eae2-8edb-4cd5-9abe-26f019f047bb"}, "application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "execute_operation": "policy_update_many_calcs", "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T07:11:44.520Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null} 20260530_031144.777 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260530_031144.777 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false} 20260530_031144.777 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": true} 20260530_031144.777 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260530_031144.797 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null} 20260530_031144.797 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) 20260530_031144.797 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) 20260530_031144.797 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260530_031144.802 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T07:11:44.520Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null} 20260530_031144.803 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260530_031144.803 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"} 20260530_031144.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": {"Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0zMFQwMzoxMTo0NC44MDNaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiMWEwZjE3YmItMTg4Mi00NGI4LWEyYWUtNGQ2ZmM1NTA4YTM5In0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0zMFQwMzoxMTo0NC41MjBaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTMwVDA2OjExOjQ0LjUyMFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTMwVDA2OjExOjQ0LjUyMFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicHJvcGVydHkiOiBudWxsfQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0zMFQwNDoxMTo0NC41MjBaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260530_031144.804 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-05-30T03:11:44.803Z", "action": "gathered", "update_id": "1a0f17bb-1882-44b8-a2ae-4d6fc5508a39"}, "application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T07:11:44.520Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null} 20260530_031144.804 INFO MainThread mock-context-logger.test_remove_then_update: runtime_properties: {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-05-30T03:11:44.803Z", "action": "gathered", "update_id": "1a0f17bb-1882-44b8-a2ae-4d6fc5508a39"}, "application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false}}} 20260530_031144.804 INFO MainThread mock-context-logger.test_remove_then_update: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false}} 20260530_031144.805 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-05-30T03:11:44.803Z", "action": "gathered", "update_id": "1a0f17bb-1882-44b8-a2ae-4d6fc5508a39"}, "application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "execute_operation": "policy_update", "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T07:11:44.520Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null} 20260530_031144.805 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach", "monkeyed.Config_both", "monkeyed.Config_peach_2", "monkeyed.Config_multi"] 20260530_031144.805 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260530_031144.805 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": {"Value": "eyJwb2xpY2llc19jb3VudCI6IDAsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0zMFQwMzoxMTo0NC44MDVaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICIxMjQyMTdiNS1hZWFiLTQwYzQtODkyNS00ZmM5MWIyNjc0NjEifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}] 20260530_031144.806 INFO MainThread mock-context-logger.policy_update: app_config {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"} 20260530_031144.806 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 0, "timestamp": "2026-05-30T03:11:44.805Z", "action": "updated", "update_id": "124217b5-aeab-40c4-8925-4fc91b267461"}, "application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "execute_operation": "policy_update", "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T07:11:44.520Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null} 20260530_031144.807 INFO MainThread mock-context-logger.test_remove_then_update: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": true}] 20260530_031144.807 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: not yet in policies 20260530_031144.807 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 0, "timestamp": "2026-05-30T03:11:44.805Z", "action": "updated", "update_id": "124217b5-aeab-40c4-8925-4fc91b267461"}, "application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "execute_operation": "policy_update", "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T07:11:44.520Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null} 20260530_031144.807 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": true}], added_policies: {"dcae_policies_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260530_031144.808 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}} 20260530_031144.808 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": {"Value": "eyJwb2xpY2llc19jb3VudCI6IDIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0zMFQwMzoxMTo0NC44MDhaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICIzMzllNjg2OS00MGZmLTQ5NjEtYTAxMi01ODdlNzI3NjAzZDQifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0zMFQwNDoxMTo0NC41MjBaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogImFhMjAiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0zMFQwNDoxMTo0NC41MjBaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}] 20260530_031144.808 INFO MainThread mock-context-logger.policy_update: app_config {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"} 20260530_031144.809 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 2, "timestamp": "2026-05-30T03:11:44.808Z", "action": "updated", "update_id": "339e6869-40ff-4961-a012-587e727603d4"}, "application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "execute_operation": "policy_update", "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T07:11:44.520Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null} 20260530_031144.809 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi]: removed 20260530_031144.809 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false} 20260530_031144.809 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": true} 20260530_031144.809 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260530_031144.828 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null} 20260530_031144.828 ERROR MainThread mock-context-logger._update_policies: update_policies_on_ctx - no updated, added, or removed policies received 20260530_031144.829 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"execute_operation": "policy_update"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null} 20260530_031144.829 INFO MainThread mock-context-logger.test_defenses_on_policy_update: policy_update() ok 20260530_031144.829 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260530_031144.834 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T07:11:44.520Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null} 20260530_031144.835 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260530_031144.835 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"} 20260530_031144.836 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": {"Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0zMFQwMzoxMTo0NC44MzVaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiZjk1YmExMDAtODg4Ny00YjYyLWJiM2UtYzZiOTIwNDQ0MjM0In0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0zMFQwMzoxMTo0NC41MjBaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTMwVDA2OjExOjQ0LjUyMFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTMwVDA2OjExOjQ0LjUyMFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicHJvcGVydHkiOiBudWxsfQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0zMFQwNDoxMTo0NC41MjBaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260530_031144.836 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-05-30T03:11:44.835Z", "action": "gathered", "update_id": "f95ba100-8887-4b62-bb3e-c6b920444234"}, "application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T07:11:44.520Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null} 20260530_031144.836 INFO MainThread mock-context-logger.test_update_policies: runtime_properties: {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-05-30T03:11:44.835Z", "action": "gathered", "update_id": "f95ba100-8887-4b62-bb3e-c6b920444234"}, "application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false}}} 20260530_031144.837 INFO MainThread mock-context-logger.test_update_policies: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false}} 20260530_031144.837 INFO MainThread mock-context-logger.test_update_policies: policy_update: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": true}] 20260530_031144.837 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: not yet in policies 20260530_031144.837 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-05-30T03:11:44.835Z", "action": "gathered", "update_id": "f95ba100-8887-4b62-bb3e-c6b920444234"}, "application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "execute_operation": "policy_update", "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T07:11:44.520Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null} 20260530_031144.838 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": true}], added_policies: {"dcae_policies_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260530_031144.838 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}} 20260530_031144.838 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": {"Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0zMFQwMzoxMTo0NC44MzhaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICJhYjMyNTQwNC01NmZkLTQ0OWUtOWI2Yi0xZTlhOTFjZGNkN2UifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0zMFQwMzoxMTo0NC41MjBaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTMwVDA2OjExOjQ0LjUyMFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi4yLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogImFhMjAiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0zMFQwNDoxMTo0NC41MjBaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInR5cGUiOiAiSlNPTiIsICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfbXVsdGlfMi4yLnhtbCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0zMFQwNDoxMTo0NC41MjBaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpXzIiLCAicG9saWN5X2hlbGxvIjogImlwc3VtIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2"}}] 20260530_031144.839 INFO MainThread mock-context-logger.policy_update: app_config {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"} 20260530_031144.839 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-05-30T03:11:44.838Z", "action": "updated", "update_id": "ab325404-56fd-449e-9b6b-1e9a91cdcd7e"}, "application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "execute_operation": "policy_update", "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T07:11:44.520Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null} 20260530_031144.839 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi]: removed 20260530_031144.840 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: {"policy_id": "monkeyed.Config_multi_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi_2.2.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": false} 20260530_031144.840 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach_2]: {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.2.xml", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "ipsum"}, "property": null}, "policy_persistent": true} 20260530_031144.840 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true} 20260530_031144.840 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true} 20260530_031144.840 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_peach", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}, "policy_persistent": true} 20260530_031144.840 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_both]: {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true} 20260530_031144.841 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260530_031144.857 INFO MainThread mock-context-logger.test_delete_node_no_policies: runtime_properties: {"policies_event": {}, "service_component_name": "delete_node_empty"} 20260530_031144.857 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_delete", "policies_event": {}, "service_component_name": "delete_node_empty"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T07:11:44.520Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null} 20260530_031144.858 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/"}}] 20260530_031144.858 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260530_031144.858 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"} 20260530_031144.858 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "exe_task": "node_delete", "policies_event": {}, "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T07:11:44.520Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null} 20260530_031144.859 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260530_031144.867 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T07:11:44.520Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null} 20260530_031144.868 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260530_031144.868 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"} 20260530_031144.868 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": {"Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0zMFQwMzoxMTo0NC44NjhaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiZDVlNDJhNTAtYTgxMC00MjkzLTlmNTItNjVmNTI4M2I5MWNmIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0zMFQwMzoxMTo0NC41MjBaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTMwVDA2OjExOjQ0LjUyMFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTMwVDA2OjExOjQ0LjUyMFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicHJvcGVydHkiOiBudWxsfQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0zMFQwNDoxMTo0NC41MjBaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260530_031144.869 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-05-30T03:11:44.868Z", "action": "gathered", "update_id": "d5e42a50-a810-4293-9f52-65f5283b91cf"}, "application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T07:11:44.520Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null} 20260530_031144.869 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-05-30T03:11:44.868Z", "action": "gathered", "update_id": "d5e42a50-a810-4293-9f52-65f5283b91cf"}, "application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false}}} 20260530_031144.869 INFO MainThread mock-context-logger.test_remove_all_policies: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false}} 20260530_031144.869 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-05-30T03:11:44.868Z", "action": "gathered", "update_id": "d5e42a50-a810-4293-9f52-65f5283b91cf"}, "application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "execute_operation": "policy_update", "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T07:11:44.520Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null} 20260530_031144.870 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach", "monkeyed.Config_both", "monkeyed.Config_peach_2", "monkeyed.Config_multi"] 20260530_031144.870 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260530_031144.870 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": {"Value": "eyJwb2xpY2llc19jb3VudCI6IDAsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0zMFQwMzoxMTo0NC44NzBaIiwgImFjdGlvbiI6ICJ1cGRhdGVkIiwgInVwZGF0ZV9pZCI6ICI1YjNiYzBlZi1iOWIyLTQzM2MtOGMzMC03N2QyY2RmZWFjZTQifQ==", "Verb": "set", "Key": "unit_test_scn:policies/event"}}] 20260530_031144.871 INFO MainThread mock-context-logger.policy_update: app_config {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"} 20260530_031144.871 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 0, "timestamp": "2026-05-30T03:11:44.870Z", "action": "updated", "update_id": "5b3bc0ef-b9b2-433c-8c30-77d2cdfeace4"}, "application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "execute_operation": "policy_update", "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T07:11:44.520Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null} 20260530_031144.871 INFO MainThread mock-context-logger.test_remove_all_policies: removed: ['monkeyed.Config_peach', 'monkeyed.Config_both', 'monkeyed.Config_peach_2', 'monkeyed.Config_multi'] 20260530_031144.872 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 0, "timestamp": "2026-05-30T03:11:44.870Z", "action": "updated", "update_id": "5b3bc0ef-b9b2-433c-8c30-77d2cdfeace4"}, "application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "execute_operation": "policy_update", "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}} 20260530_031144.872 INFO MainThread mock-context-logger.test_remove_all_policies: expected = default application_config: {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"} 20260530_031144.872 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260530_031144.887 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T07:11:44.520Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null} 20260530_031144.888 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260530_031144.888 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"} 20260530_031144.889 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": {"Value": "eyJwb2xpY2llc19jb3VudCI6IDQsICJ0aW1lc3RhbXAiOiAiMjAyNi0wNS0zMFQwMzoxMTo0NC44ODhaIiwgImFjdGlvbiI6ICJnYXRoZXJlZCIsICJ1cGRhdGVfaWQiOiAiOTVjMjIxMjYtN2Q4Mi00NzEzLWJhNDUtNzIwZjdjYThlNDUxIn0=", "Verb": "set", "Key": "unit_test_scn:policies/event"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoLjEueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0zMFQwMzoxMTo0NC41MjBaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoIiwgInBvbGljeV9oZWxsbyI6ICJMb3JlbSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMSIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInByb3BlcnR5IjogbnVsbH0=", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX2JvdGguNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTMwVDA2OjExOjQ0LjUyMFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfYm90aCIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMS41IiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX3BlYWNoXzIuNC54bWwiLCAiY29uZmlnIjogeyJwb2xpY3lfdXBkYXRlZF90cyI6ICIyMDI2LTA1LTMwVDA2OjExOjQ0LjUyMFoiLCAicG9saWN5X3VwZGF0ZWRfZnJvbV92ZXIiOiAiMyIsICJwb2xpY3lfdXBkYXRlZF90b192ZXIiOiAiNCIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiIsICJwb2xpY3lfaGVsbG8iOiAic2l0In0sICJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJ0eXBlIjogIkpTT04iLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMiIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicHJvcGVydHkiOiBudWxsfQ==", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2"}}, {"KV": {"Value": "eyJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wNS0zMFQwNDoxMTo0NC41MjBaIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAidXBkYXRlZF9wb2xpY3lfaWQiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpIiwgInBvbGljeV9oZWxsbyI6ICJpcHN1bSJ9LCAicG9saWN5Q29uZmlnTWVzc2FnZSI6ICJDb25maWcgUmV0cmlldmVkISAiLCAidHlwZSI6ICJKU09OIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwcm9wZXJ0eSI6IG51bGx9", "Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi"}}] 20260530_031144.889 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-05-30T03:11:44.888Z", "action": "gathered", "update_id": "95c22126-7d82-4713-ba45-720f7ca8e451"}, "application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T07:11:44.520Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null} 20260530_031144.889 INFO MainThread mock-context-logger.test_delete_node: runtime_properties: {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-05-30T03:11:44.888Z", "action": "gathered", "update_id": "95c22126-7d82-4713-ba45-720f7ca8e451"}, "application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "exe_task": "node_configure", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false}}} 20260530_031144.889 INFO MainThread mock-context-logger.test_delete_node: policies: {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false}} 20260530_031144.890 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-05-30T03:11:44.888Z", "action": "gathered", "update_id": "95c22126-7d82-4713-ba45-720f7ca8e451"}, "application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "exe_task": "node_delete", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T07:11:44.520Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null} 20260530_031144.890 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/"}}] 20260530_031144.890 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260530_031144.891 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"} 20260530_031144.891 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"workflow_id": null, "deployment.id": "test_dcae_policy_dpl_id", "task_id": null, "node": {"id": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "name": "test_ms_name", "properties": {"application_config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "policy_hello": "Lorem", "weather": "snow", "updated_policy_id": "no_policy"}}}, "operation": {"max_retries": null, "retry_number": null, "name": null}, "instance": {"id": "test_ms_id", "runtime_properties": {"policy_filters": {"dcae_policies_2_node_id": {"policy_filter_id": "dcae_policies_2_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_5_node_id": {"policy_filter_id": "dcae_policies_b_5_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "dcae_policies_node_id": {"policy_filter_id": "dcae_policies_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": {"ConfigName": "alex_config_name"}}}, "dcae_policies_b_node_id": {"policy_filter_id": "dcae_policies_b_node_id", "policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}, "policies_event": {"policies_count": 4, "timestamp": "2026-05-30T03:11:44.888Z", "action": "gathered", "update_id": "95c22126-7d82-4713-ba45-720f7ca8e451"}, "application_config": {"policy_hello": "Lorem", "updated_policy_id": "no_policy", "policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow"}, "exe_task": "node_delete", "service_component_name": "unit_test_scn", "policies": {"monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": true}, "monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "policyConfigMessage": "Config Retrieved! ", "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "property": null}, "policy_persistent": false}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.1.xml", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "Lorem"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name", "properties": {"policy_id": "monkeyed.Config_peach"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_2_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_node_id_2", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach_2.4.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_peach_2", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_node_name_2", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_3_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_3_node_name", "properties": {"policy_id": "monkeyed.Config_peach_2"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "bad_policy_4_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "bad_policy_4_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "weird_policy_5_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_peach.3.xml", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_peach", "policy_hello": "dolor"}, "property": null}}, "relationships": []}, "node": {"id": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "weird_policy_5_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "3", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.3.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T05:11:44.520Z", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "dolor"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*", "configAttributes": "{\"ConfigName\": \"alex_config_name\"}"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_id": "monkeyed.Config_multi", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_multi.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_multi", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_node_name", "properties": {"policy_filter": {"empty": null}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_empty_2_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_empty_2_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "non_policies_node_id", "runtime_properties": {}, "relationships": []}, "node": {"id": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "name": "non_policies_node_name", "properties": {}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "1", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.1.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T03:11:44.520Z", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "Lorem"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_2_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "2", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.2.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T04:11:44.520Z", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "ipsum"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_2_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policy_b_node_id", "runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "4", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.4.xml", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T06:11:44.520Z", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "sit"}, "property": null}}, "relationships": []}, "node": {"id": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "name": "dcae_policy_b_node_name", "properties": {"policy_id": "monkeyed.Config_both"}}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"instance": {"id": "dcae_policies_b_5_node_id", "runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_body": {"policyConfigMessage": "Config Retrieved! ", "responseAttributes": {}, "type": "JSON", "policyVersion": "5", "policyConfigStatus": "CONFIG_RETRIEVED", "policyName": "monkeyed.Config_both.5.xml", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_updated_ts": "2026-05-30T07:11:44.520Z", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "updated_policy_id": "monkeyed.Config_both", "policy_hello": "amet"}, "property": null}}}}, "relationships": []}, "node": {"id": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "name": "dcae_policies_b_5_node_name", "properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}}}}]}, "task_name": null, "blueprint.id": "test_dcae_policy_bp_id", "plugin": {"workdir": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "package_version": null, "name": "", "package_name": null}, "type": "node-instance", "execution_id": "test_dcae_policy_exe_id", "task_queue": null, "task_target": null} 20260530_031144.891 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear