20260221_031031.319 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "type": "node-instance", "task_name": null, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-21T07:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id"} 20260221_031031.320 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260221_031031.320 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123"} 20260221_031031.321 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDItMjFUMDM6MTA6MzEuMzIwWiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiMjRhOGFkNTEtNGM1MC00MmRjLTk5ZmEtOTVkZTMxNGExYzI4In0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMjFUMDY6MTA6MzEuMjk1WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJ0eXBlIjogIkpTT04ifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0yMVQwMzoxMDozMS4yOTVaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0yMVQwNjoxMDozMS4yOTVaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMjFUMDQ6MTA6MzEuMjk1WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInR5cGUiOiAiSlNPTiJ9"}}] 20260221_031031.321 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "type": "node-instance", "task_name": null, "instance": {"runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-02-21T03:10:31.320Z", "policies_count": 4, "update_id": "24a8ad51-4c50-42dc-99fa-95de314a1c28"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-21T07:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id"} 20260221_031031.321 INFO MainThread mock-context-logger.test_delete_node: runtime_properties: {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-02-21T03:10:31.320Z", "policies_count": 4, "update_id": "24a8ad51-4c50-42dc-99fa-95de314a1c28"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}} 20260221_031031.321 INFO MainThread mock-context-logger.test_delete_node: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20260221_031031.322 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"workflow_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "type": "node-instance", "task_name": null, "instance": {"runtime_properties": {"exe_task": "node_delete", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-02-21T03:10:31.320Z", "policies_count": 4, "update_id": "24a8ad51-4c50-42dc-99fa-95de314a1c28"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-21T07:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id"} 20260221_031031.322 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/"}}] 20260221_031031.322 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260221_031031.322 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"} 20260221_031031.323 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"workflow_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "type": "node-instance", "task_name": null, "instance": {"runtime_properties": {"exe_task": "node_delete", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}, "policies_event": {"action": "gathered", "timestamp": "2026-02-21T03:10:31.320Z", "policies_count": 4, "update_id": "24a8ad51-4c50-42dc-99fa-95de314a1c28"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-21T07:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id"} 20260221_031031.323 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260221_031031.332 INFO MainThread mock-context-logger.test_delete_ms_no_consul_addr: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20260221_031031.332 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"workflow_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "type": "node-instance", "task_name": null, "instance": {"runtime_properties": {"service_component_name": "delete_node_empty", "policies_event": {}, "exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-21T07:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id"} 20260221_031031.333 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/"}}] 20260221_031031.333 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260221_031031.333 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123"} 20260221_031031.333 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"workflow_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "type": "node-instance", "task_name": null, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123"}, "policies_event": {}, "exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-21T07:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id"} 20260221_031031.334 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260221_031031.341 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "type": "node-instance", "task_name": null, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id"} 20260221_031031.341 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) 20260221_031031.341 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) 20260221_031031.341 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260221_031031.346 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "type": "node-instance", "task_name": null, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-21T07:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id"} 20260221_031031.346 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260221_031031.347 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123"} 20260221_031031.347 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDItMjFUMDM6MTA6MzEuMzQ3WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiMDAwNGQ0YmItOTBmNS00YzMwLTkxYjMtNWUwZTAwOWE2MGQwIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMjFUMDY6MTA6MzEuMjk1WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJ0eXBlIjogIkpTT04ifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0yMVQwMzoxMDozMS4yOTVaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0yMVQwNjoxMDozMS4yOTVaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMjFUMDQ6MTA6MzEuMjk1WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInR5cGUiOiAiSlNPTiJ9"}}] 20260221_031031.347 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "type": "node-instance", "task_name": null, "instance": {"runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-02-21T03:10:31.347Z", "policies_count": 4, "update_id": "0004d4bb-90f5-4c30-91b3-5e0e009a60d0"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-21T07:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id"} 20260221_031031.348 INFO MainThread mock-context-logger.test_policies_to_node: runtime_properties: {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-02-21T03:10:31.347Z", "policies_count": 4, "update_id": "0004d4bb-90f5-4c30-91b3-5e0e009a60d0"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}} 20260221_031031.348 INFO MainThread mock-context-logger.test_policies_to_node: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20260221_031031.348 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260221_031031.348 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260221_031031.348 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_both]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20260221_031031.349 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_both]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20260221_031031.349 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_peach_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20260221_031031.349 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_peach_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20260221_031031.349 INFO MainThread mock-context-logger.test_policies_to_node: expected[monkeyed.Config_multi]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false} 20260221_031031.349 INFO MainThread mock-context-logger.test_policies_to_node: policy[monkeyed.Config_multi]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false} 20260221_031031.349 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260221_031031.358 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "type": "node-instance", "task_name": null, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id"} 20260221_031031.358 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260221_031031.359 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123"} 20260221_031031.359 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "type": "node-instance", "task_name": null, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id"} 20260221_031031.359 INFO MainThread mock-context-logger.test_bad_policies: runtime_properties: {"service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "exe_task": "node_configure"} 20260221_031031.359 INFO MainThread mock-context-logger.test_bad_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20260221_031031.359 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260221_031031.365 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "type": "node-instance", "task_name": null, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-21T07:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id"} 20260221_031031.366 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260221_031031.366 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123"} 20260221_031031.367 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDItMjFUMDM6MTA6MzEuMzY2WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiMDA4ZGFmZjgtMzljMS00NWU4LWFlOTgtNzYzZmRhODdlZjliIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMjFUMDY6MTA6MzEuMjk1WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJ0eXBlIjogIkpTT04ifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0yMVQwMzoxMDozMS4yOTVaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0yMVQwNjoxMDozMS4yOTVaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMjFUMDQ6MTA6MzEuMjk1WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInR5cGUiOiAiSlNPTiJ9"}}] 20260221_031031.367 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "type": "node-instance", "task_name": null, "instance": {"runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-02-21T03:10:31.366Z", "policies_count": 4, "update_id": "008daff8-39c1-45e8-ae98-763fda87ef9b"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-21T07:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id"} 20260221_031031.368 INFO MainThread mock-context-logger.test_gather_policies_to_node: runtime_properties: {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-02-21T03:10:31.366Z", "policies_count": 4, "update_id": "008daff8-39c1-45e8-ae98-763fda87ef9b"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}} 20260221_031031.368 INFO MainThread mock-context-logger.test_gather_policies_to_node: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20260221_031031.368 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260221_031031.376 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"workflow_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "type": "node-instance", "task_name": null, "instance": {"runtime_properties": {"execute_operation": "policy_update"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id"} 20260221_031031.376 ERROR MainThread mock-context-logger._update_policies: update_policies_on_ctx - no updated, added, or removed policies received 20260221_031031.376 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"workflow_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "type": "node-instance", "task_name": null, "instance": {"runtime_properties": {"execute_operation": "policy_update"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id"} 20260221_031031.376 INFO MainThread mock-context-logger.test_defenses_on_policy_update: policy_update() ok 20260221_031031.377 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260221_031031.381 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "type": "node-instance", "task_name": null, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-21T07:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id"} 20260221_031031.382 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260221_031031.382 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123"} 20260221_031031.383 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDItMjFUMDM6MTA6MzEuMzgzWiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiOGU3ZTE0YWEtNzAxNi00NTM2LWE2MjgtNWIyOTk3YzI3YWM5In0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMjFUMDY6MTA6MzEuMjk1WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJ0eXBlIjogIkpTT04ifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0yMVQwMzoxMDozMS4yOTVaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0yMVQwNjoxMDozMS4yOTVaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMjFUMDQ6MTA6MzEuMjk1WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInR5cGUiOiAiSlNPTiJ9"}}] 20260221_031031.383 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "type": "node-instance", "task_name": null, "instance": {"runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-02-21T03:10:31.383Z", "policies_count": 4, "update_id": "8e7e14aa-7016-4536-a628-5b2997c27ac9"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-21T07:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id"} 20260221_031031.383 INFO MainThread mock-context-logger.test_update_not_only_config: runtime_properties: {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-02-21T03:10:31.383Z", "policies_count": 4, "update_id": "8e7e14aa-7016-4536-a628-5b2997c27ac9"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}} 20260221_031031.384 INFO MainThread mock-context-logger.test_update_not_only_config: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20260221_031031.384 INFO MainThread mock-context-logger.test_update_not_only_config: policy_update: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20260221_031031.384 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: not yet in policies 20260221_031031.384 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_not_only_config test_ms_id context: {"workflow_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "type": "node-instance", "task_name": null, "instance": {"runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update_not_only_config", "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-02-21T03:10:31.383Z", "policies_count": 4, "update_id": "8e7e14aa-7016-4536-a628-5b2997c27ac9"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-21T07:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id"} 20260221_031031.385 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260221_031031.385 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20260221_031031.385 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMi0yMVQwMzoxMDozMS4zODVaIiwgInBvbGljaWVzX2NvdW50IjogNCwgInVwZGF0ZV9pZCI6ICJjYWVkNmM1MC1hN2IxLTQwY2YtODQ0OC1lYTY5NmQ4YTAzZTgifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0yMVQwNDoxMDozMS4yOTVaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICJhYTIwIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0yMVQwMzoxMDozMS4yOTVaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0yMVQwNjoxMDozMS4yOTVaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0yMVQwNDoxMDozMS4yOTVaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20260221_031031.386 INFO MainThread mock-context-logger.policy_update_not_only_config: app_config {"policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"} 20260221_031031.386 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_not_only_config test_ms_id context: {"workflow_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "type": "node-instance", "task_name": null, "instance": {"runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update_not_only_config", "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}, "policies_event": {"action": "updated", "timestamp": "2026-02-21T03:10:31.385Z", "policies_count": 4, "update_id": "caed6c50-a7b1-40cf-8448-ea696d8a03e8"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-21T07:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id"} 20260221_031031.386 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi]: removed 20260221_031031.387 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_multi_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20260221_031031.387 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20260221_031031.387 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_peach]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260221_031031.387 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_peach]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260221_031031.387 INFO MainThread mock-context-logger.test_update_not_only_config: expected[monkeyed.Config_both]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260221_031031.387 INFO MainThread mock-context-logger.test_update_not_only_config: policy[monkeyed.Config_both]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20260221_031031.387 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260221_031031.402 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"workflow_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "type": "node-instance", "task_name": null, "instance": {"runtime_properties": {"execute_operation": "policy_update"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id"} 20260221_031031.402 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) 20260221_031031.402 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) 20260221_031031.402 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260221_031031.406 INFO MainThread mock-context-logger.test_delete_node_empty_config: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20260221_031031.407 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"workflow_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "type": "node-instance", "task_name": null, "instance": {"runtime_properties": {"service_component_name": "delete_node_empty", "policies_event": {}, "exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-21T07:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id"} 20260221_031031.407 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/"}}] 20260221_031031.407 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260221_031031.407 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123"} 20260221_031031.408 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"workflow_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "type": "node-instance", "task_name": null, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123"}, "policies_event": {}, "exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-21T07:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id"} 20260221_031031.408 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260221_031031.415 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 20260221_031031.415 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260221_031031.418 INFO MainThread mock-context-logger.test_delete_node_no_policies: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20260221_031031.419 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"workflow_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "type": "node-instance", "task_name": null, "instance": {"runtime_properties": {"service_component_name": "delete_node_empty", "policies_event": {}, "exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-21T07:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id"} 20260221_031031.419 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/"}}] 20260221_031031.419 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260221_031031.419 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123"} 20260221_031031.419 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"workflow_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "type": "node-instance", "task_name": null, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123"}, "policies_event": {}, "exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-21T07:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id"} 20260221_031031.420 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260221_031031.427 INFO MainThread mock-context-logger.test_delete_node_empty: runtime_properties: {} 20260221_031031.427 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"workflow_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "type": "node-instance", "task_name": null, "instance": {"runtime_properties": {"exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-21T07:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id"} 20260221_031031.428 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260221_031031.428 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123"} 20260221_031031.428 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"workflow_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "type": "node-instance", "task_name": null, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123"}, "exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-21T07:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id"} 20260221_031031.428 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260221_031031.436 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "type": "node-instance", "task_name": null, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-21T07:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id"} 20260221_031031.437 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260221_031031.437 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123"} 20260221_031031.438 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDItMjFUMDM6MTA6MzEuNDM4WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiMDY4MWU0OGQtMTQyZS00NjU4LTk1MGMtYWIxZjA3NDNlNDMzIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMjFUMDY6MTA6MzEuMjk1WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJ0eXBlIjogIkpTT04ifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0yMVQwMzoxMDozMS4yOTVaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0yMVQwNjoxMDozMS4yOTVaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMjFUMDQ6MTA6MzEuMjk1WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInR5cGUiOiAiSlNPTiJ9"}}] 20260221_031031.438 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "type": "node-instance", "task_name": null, "instance": {"runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-02-21T03:10:31.438Z", "policies_count": 4, "update_id": "0681e48d-142e-4658-950c-ab1f0743e433"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-21T07:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id"} 20260221_031031.438 INFO MainThread mock-context-logger.test_remove_then_update: runtime_properties: {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-02-21T03:10:31.438Z", "policies_count": 4, "update_id": "0681e48d-142e-4658-950c-ab1f0743e433"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}} 20260221_031031.439 INFO MainThread mock-context-logger.test_remove_then_update: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20260221_031031.439 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"workflow_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "type": "node-instance", "task_name": null, "instance": {"runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-02-21T03:10:31.438Z", "policies_count": 4, "update_id": "0681e48d-142e-4658-950c-ab1f0743e433"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-21T07:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id"} 20260221_031031.439 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_peach", "monkeyed.Config_both", "monkeyed.Config_multi"] 20260221_031031.440 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260221_031031.440 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMi0yMVQwMzoxMDozMS40NDBaIiwgInBvbGljaWVzX2NvdW50IjogMCwgInVwZGF0ZV9pZCI6ICIwZDUyYTAxMC1kNTNlLTQ0ZWYtYjVkMC0zNmU0MDE2MmYxYzUifQ=="}}] 20260221_031031.440 INFO MainThread mock-context-logger.policy_update: app_config {"policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"} 20260221_031031.441 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"workflow_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "type": "node-instance", "task_name": null, "instance": {"runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}, "policies_event": {"action": "updated", "timestamp": "2026-02-21T03:10:31.440Z", "policies_count": 0, "update_id": "0d52a010-d53e-44ef-b5d0-36e40162f1c5"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-21T07:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id"} 20260221_031031.441 INFO MainThread mock-context-logger.test_remove_then_update: policy_update: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20260221_031031.441 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: not yet in policies 20260221_031031.442 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"workflow_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "type": "node-instance", "task_name": null, "instance": {"runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}, "policies_event": {"action": "updated", "timestamp": "2026-02-21T03:10:31.440Z", "policies_count": 0, "update_id": "0d52a010-d53e-44ef-b5d0-36e40162f1c5"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-21T07:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id"} 20260221_031031.442 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260221_031031.442 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20260221_031031.442 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMi0yMVQwMzoxMDozMS40NDJaIiwgInBvbGljaWVzX2NvdW50IjogMiwgInVwZGF0ZV9pZCI6ICJhMWRiYzA1Zi0zMjk0LTQ1MGYtODY4Ni0yMmVkOWY2MTNkYzgifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0yMVQwNDoxMDozMS4yOTVaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICJhYTIwIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0yMVQwNDoxMDozMS4yOTVaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20260221_031031.443 INFO MainThread mock-context-logger.policy_update: app_config {"policy_hello": "Lorem", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123"} 20260221_031031.443 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"workflow_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "type": "node-instance", "task_name": null, "instance": {"runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123"}, "policies_event": {"action": "updated", "timestamp": "2026-02-21T03:10:31.442Z", "policies_count": 2, "update_id": "a1dbc05f-3294-450f-8686-22ed9f613dc8"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-21T07:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id"} 20260221_031031.443 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi]: removed 20260221_031031.443 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_multi_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20260221_031031.444 INFO MainThread mock-context-logger.test_remove_then_update: policy[monkeyed.Config_peach_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20260221_031031.444 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260221_031031.463 INFO MainThread mock-context-logger.test_delete_bad_config: runtime_properties: {"service_component_name": "delete_node_empty", "policies_event": {}} 20260221_031031.463 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"workflow_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "type": "node-instance", "task_name": null, "instance": {"runtime_properties": {"service_component_name": "delete_node_empty", "policies_event": {}, "exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-21T07:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id"} 20260221_031031.464 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/"}}] 20260221_031031.464 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260221_031031.464 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123"} 20260221_031031.464 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"workflow_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "type": "node-instance", "task_name": null, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123"}, "policies_event": {}, "exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-21T07:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id"} 20260221_031031.465 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260221_031031.472 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "type": "node-instance", "task_name": null, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-21T07:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id"} 20260221_031031.473 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260221_031031.473 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123"} 20260221_031031.474 ERROR MainThread mock-context-logger._run_transaction: RequestException - failed to store_policies at http://consul:8500/v1/txn: monkey-boom on txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDItMjFUMDM6MTA6MzEuNDc0WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiNTcxNzI5YTEtZTE3ZS00NTAwLTliODQtYzhjZWQwYWI1ZGRjIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMjFUMDY6MTA6MzEuMjk1WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJ0eXBlIjogIkpTT04ifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0yMVQwMzoxMDozMS4yOTVaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0yMVQwNjoxMDozMS4yOTVaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMjFUMDQ6MTA6MzEuMjk1WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInR5cGUiOiAiSlNPTiJ9"}}] 20260221_031031.474 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "type": "node-instance", "task_name": null, "instance": {"runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-02-21T03:10:31.474Z", "policies_count": 4, "update_id": "571729a1-e17e-4500-9b84-c8ced0ab5ddc"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-21T07:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id"} 20260221_031031.474 INFO MainThread mock-context-logger.test_delete_node_no_consul: runtime_properties: {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-02-21T03:10:31.474Z", "policies_count": 4, "update_id": "571729a1-e17e-4500-9b84-c8ced0ab5ddc"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}} 20260221_031031.475 INFO MainThread mock-context-logger.test_delete_node_no_consul: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20260221_031031.475 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"workflow_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "type": "node-instance", "task_name": null, "instance": {"runtime_properties": {"exe_task": "node_delete", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-02-21T03:10:31.474Z", "policies_count": 4, "update_id": "571729a1-e17e-4500-9b84-c8ced0ab5ddc"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-21T07:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id"} 20260221_031031.475 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/"}}] 20260221_031031.475 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260221_031031.476 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"} 20260221_031031.476 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"workflow_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "type": "node-instance", "task_name": null, "instance": {"runtime_properties": {"exe_task": "node_delete", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}, "policies_event": {"action": "gathered", "timestamp": "2026-02-21T03:10:31.474Z", "policies_count": 4, "update_id": "571729a1-e17e-4500-9b84-c8ced0ab5ddc"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-21T07:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id"} 20260221_031031.476 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260221_031031.490 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "type": "node-instance", "task_name": null, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-21T07:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id"} 20260221_031031.491 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260221_031031.492 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123"} 20260221_031031.492 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDItMjFUMDM6MTA6MzEuNDkyWiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiN2JiMzFkZDQtMmRjNi00MjhjLWE2ZTktZDMxOGIwZTIwZWQ2In0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMjFUMDY6MTA6MzEuMjk1WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJ0eXBlIjogIkpTT04ifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0yMVQwMzoxMDozMS4yOTVaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0yMVQwNjoxMDozMS4yOTVaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMjFUMDQ6MTA6MzEuMjk1WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInR5cGUiOiAiSlNPTiJ9"}}] 20260221_031031.492 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "type": "node-instance", "task_name": null, "instance": {"runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-02-21T03:10:31.492Z", "policies_count": 4, "update_id": "7bb31dd4-2dc6-428c-a6e9-d318b0e20ed6"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-21T07:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id"} 20260221_031031.493 INFO MainThread mock-context-logger.test_update_many_calcs: runtime_properties: {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-02-21T03:10:31.492Z", "policies_count": 4, "update_id": "7bb31dd4-2dc6-428c-a6e9-d318b0e20ed6"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}} 20260221_031031.493 INFO MainThread mock-context-logger.test_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20260221_031031.493 INFO MainThread mock-context-logger.test_update_many_calcs: policy_update: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20260221_031031.493 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260221_031031.494 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"workflow_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "type": "node-instance", "task_name": null, "instance": {"runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update_many_calcs", "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-02-21T03:10:31.492Z", "policies_count": 4, "update_id": "7bb31dd4-2dc6-428c-a6e9-d318b0e20ed6"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-21T07:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id"} 20260221_031031.494 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260221_031031.494 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20260221_031031.494 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMi0yMVQwMzoxMDozMS40OTRaIiwgInBvbGljaWVzX2NvdW50IjogNCwgInVwZGF0ZV9pZCI6ICJlYTIzYmVlYy0xZTkxLTRiOWUtYWEzYS0zZWY0ZTkxNzFhMDMifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0yMVQwNDoxMDozMS4yOTVaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICJhYTIwIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0yMVQwMzoxMDozMS4yOTVaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0yMVQwNjoxMDozMS4yOTVaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0yMVQwNDoxMDozMS4yOTVaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20260221_031031.495 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"} 20260221_031031.495 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"workflow_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "type": "node-instance", "task_name": null, "instance": {"runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update_many_calcs", "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}, "policies_event": {"action": "updated", "timestamp": "2026-02-21T03:10:31.494Z", "policies_count": 4, "update_id": "ea23beec-1e91-4b9e-aa3a-3ef4e9171a03"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-21T07:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id"} 20260221_031031.496 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260221_031031.496 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20260221_031031.496 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20260221_031031.496 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260221_031031.496 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260221_031031.496 INFO MainThread mock-context-logger.test_update_many_calcs: expected[monkeyed.Config_both]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260221_031031.497 INFO MainThread mock-context-logger.test_update_many_calcs: policy[monkeyed.Config_both]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20260221_031031.497 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260221_031031.512 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "type": "node-instance", "task_name": null, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-21T07:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id"} 20260221_031031.513 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260221_031031.513 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123"} 20260221_031031.513 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDItMjFUMDM6MTA6MzEuNTEzWiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiNWZmZDQxMGUtNDlhYy00ZmNkLWI4ODctMGE0NjIyMjkxODkxIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMjFUMDY6MTA6MzEuMjk1WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJ0eXBlIjogIkpTT04ifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0yMVQwMzoxMDozMS4yOTVaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0yMVQwNjoxMDozMS4yOTVaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMjFUMDQ6MTA6MzEuMjk1WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInR5cGUiOiAiSlNPTiJ9"}}] 20260221_031031.514 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "type": "node-instance", "task_name": null, "instance": {"runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-02-21T03:10:31.513Z", "policies_count": 4, "update_id": "5ffd410e-49ac-4fcd-b887-0a4622291891"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-21T07:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id"} 20260221_031031.514 INFO MainThread mock-context-logger.test_bad_update_many_calcs: runtime_properties: {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-02-21T03:10:31.513Z", "policies_count": 4, "update_id": "5ffd410e-49ac-4fcd-b887-0a4622291891"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}} 20260221_031031.514 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20260221_031031.514 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy_update: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": ["damaged config"], "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20260221_031031.514 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260221_031031.515 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"workflow_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "type": "node-instance", "task_name": null, "instance": {"runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update_many_calcs", "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-02-21T03:10:31.513Z", "policies_count": 4, "update_id": "5ffd410e-49ac-4fcd-b887-0a4622291891"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-21T07:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id"} 20260221_031031.515 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": ["damaged config"], "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"none": null, "unexpected": "foo"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260221_031031.515 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"none": null, "unexpected": "foo"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20260221_031031.516 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMi0yMVQwMzoxMDozMS41MTVaIiwgInBvbGljaWVzX2NvdW50IjogNCwgInVwZGF0ZV9pZCI6ICJmZjBiOTc5OC03ZmQ2LTQ1M2ItYmQ3Yy1lZjBmMjZiMjMyMDUifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgImNvbmZpZyI6IFsiZGFtYWdlZCBjb25maWciXSwgInR5cGUiOiAiSlNPTiIsICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogImFhMjAiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgInBvbGljeVZlcnNpb24iOiAiMiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fX0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0yMVQwMzoxMDozMS4yOTVaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0yMVQwNjoxMDozMS4yOTVaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgImNvbmZpZyI6IHsibm9uZSI6IG51bGwsICJ1bmV4cGVjdGVkIjogImZvbyJ9LCAidHlwZSI6ICJKU09OIiwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgIm1hdGNoaW5nQ29uZGl0aW9ucyI6IHsicHJpb3JpdHkiOiAiMSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAicG9saWN5VmVyc2lvbiI6ICIyIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9fQ=="}}] 20260221_031031.516 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"} 20260221_031031.517 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"workflow_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "type": "node-instance", "task_name": null, "instance": {"runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update_many_calcs", "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}, "policies_event": {"action": "updated", "timestamp": "2026-02-21T03:10:31.515Z", "policies_count": 4, "update_id": "ff0b9798-7fd6-453b-bd7c-ef0f26b23205"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": ["damaged config"], "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"none": null, "unexpected": "foo"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-21T07:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id"} 20260221_031031.517 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260221_031031.517 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"none": null, "unexpected": "foo"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20260221_031031.517 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": ["damaged config"], "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20260221_031031.517 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_peach]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260221_031031.518 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_peach]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260221_031031.518 INFO MainThread mock-context-logger.test_bad_update_many_calcs: expected[monkeyed.Config_both]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260221_031031.518 INFO MainThread mock-context-logger.test_bad_update_many_calcs: policy[monkeyed.Config_both]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20260221_031031.518 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260221_031031.534 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "type": "node-instance", "task_name": null, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-21T07:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id"} 20260221_031031.535 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260221_031031.535 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123"} 20260221_031031.536 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDItMjFUMDM6MTA6MzEuNTM1WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiMDRhNWUyM2ItYWIzZS00ODE4LWE4OTItYjRmNjRiNjZlNTNhIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMjFUMDY6MTA6MzEuMjk1WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJ0eXBlIjogIkpTT04ifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0yMVQwMzoxMDozMS4yOTVaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0yMVQwNjoxMDozMS4yOTVaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMjFUMDQ6MTA6MzEuMjk1WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInR5cGUiOiAiSlNPTiJ9"}}] 20260221_031031.536 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "type": "node-instance", "task_name": null, "instance": {"runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-02-21T03:10:31.535Z", "policies_count": 4, "update_id": "04a5e23b-ab3e-4818-a892-b4f64b66e53a"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-21T07:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id"} 20260221_031031.536 INFO MainThread mock-context-logger.test_remove_update_many_calcs: runtime_properties: {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-02-21T03:10:31.535Z", "policies_count": 4, "update_id": "04a5e23b-ab3e-4818-a892-b4f64b66e53a"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}} 20260221_031031.537 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20260221_031031.537 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"workflow_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "type": "node-instance", "task_name": null, "instance": {"runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update_many_calcs", "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-02-21T03:10:31.535Z", "policies_count": 4, "update_id": "04a5e23b-ab3e-4818-a892-b4f64b66e53a"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-21T07:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id"} 20260221_031031.537 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_peach", "monkeyed.Config_both", "monkeyed.Config_multi"] 20260221_031031.538 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260221_031031.538 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMi0yMVQwMzoxMDozMS41MzhaIiwgInBvbGljaWVzX2NvdW50IjogMCwgInVwZGF0ZV9pZCI6ICI1ZThmODM5Yy0wN2NhLTQ5MzMtYWIwNi1iMzEzNDhhMGU2NmEifQ=="}}] 20260221_031031.538 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"} 20260221_031031.539 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"workflow_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "type": "node-instance", "task_name": null, "instance": {"runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update_many_calcs", "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}, "policies_event": {"action": "updated", "timestamp": "2026-02-21T03:10:31.538Z", "policies_count": 0, "update_id": "5e8f839c-07ca-4933-ab06-b31348a0e66a"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-21T07:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id"} 20260221_031031.539 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}} 20260221_031031.539 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy_update: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20260221_031031.539 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: not yet in policies 20260221_031031.540 INFO MainThread mock-context-logger.log_ctx_info: before policy_update_many_calcs test_ms_id context: {"workflow_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "type": "node-instance", "task_name": null, "instance": {"runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update_many_calcs", "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}, "policies_event": {"action": "updated", "timestamp": "2026-02-21T03:10:31.538Z", "policies_count": 0, "update_id": "5e8f839c-07ca-4933-ab06-b31348a0e66a"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-21T07:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id"} 20260221_031031.540 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260221_031031.540 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20260221_031031.540 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMi0yMVQwMzoxMDozMS41NDBaIiwgInBvbGljaWVzX2NvdW50IjogMiwgInVwZGF0ZV9pZCI6ICI2YTg5YTczNC1mZTU1LTQ3MzQtYjliOS1mYzlkYTZlMWU2NTQifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0yMVQwNDoxMDozMS4yOTVaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICJhYTIwIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0yMVQwNDoxMDozMS4yOTVaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20260221_031031.541 INFO MainThread mock-context-logger.policy_update_many_calcs: app_config {"policy_hello": "Lorem", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123"} 20260221_031031.541 INFO MainThread mock-context-logger.log_ctx_info: after policy_update_many_calcs test_ms_id context: {"workflow_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "type": "node-instance", "task_name": null, "instance": {"runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update_many_calcs", "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123"}, "policies_event": {"action": "updated", "timestamp": "2026-02-21T03:10:31.540Z", "policies_count": 2, "update_id": "6a89a734-fe55-4734-b9b9-fc9da6e1e654"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-21T07:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id"} 20260221_031031.541 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi]: removed 20260221_031031.542 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_multi_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20260221_031031.542 INFO MainThread mock-context-logger.test_remove_update_many_calcs: policy[monkeyed.Config_peach_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20260221_031031.542 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260221_031031.561 INFO MainThread mock-context-logger.test_delete_node_lost_scn: runtime_properties: {"policies_event": {}} 20260221_031031.561 INFO MainThread mock-context-logger.log_ctx_info: before node_delete test_ms_id context: {"workflow_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "type": "node-instance", "task_name": null, "instance": {"runtime_properties": {"policies_event": {}, "exe_task": "node_delete"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-21T07:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id"} 20260221_031031.562 WARNING MainThread mock-context-logger.delete_policies: failed to find service_component_name to delete_policies in consul-kv 20260221_031031.562 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260221_031031.562 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123"} 20260221_031031.562 INFO MainThread mock-context-logger.log_ctx_info: after node_delete test_ms_id context: {"workflow_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "type": "node-instance", "task_name": null, "instance": {"runtime_properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123"}, "policies_event": {}, "exe_task": "node_delete", "service_component_name": "unit_test_scn"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-21T07:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id"} 20260221_031031.562 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260221_031031.569 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 20260221_031031.569 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260221_031031.573 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "type": "node-instance", "task_name": null, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-21T07:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id"} 20260221_031031.574 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260221_031031.574 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123"} 20260221_031031.574 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDItMjFUMDM6MTA6MzEuNTc0WiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiOGY4NWZkNGMtYTYxZC00ZGY0LTk4ZDgtOTAxOGI4MDdmZTFjIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMjFUMDY6MTA6MzEuMjk1WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJ0eXBlIjogIkpTT04ifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0yMVQwMzoxMDozMS4yOTVaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0yMVQwNjoxMDozMS4yOTVaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMjFUMDQ6MTA6MzEuMjk1WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInR5cGUiOiAiSlNPTiJ9"}}] 20260221_031031.575 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "type": "node-instance", "task_name": null, "instance": {"runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-02-21T03:10:31.574Z", "policies_count": 4, "update_id": "8f85fd4c-a61d-4df4-98d8-9018b807fe1c"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-21T07:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id"} 20260221_031031.575 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-02-21T03:10:31.574Z", "policies_count": 4, "update_id": "8f85fd4c-a61d-4df4-98d8-9018b807fe1c"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}} 20260221_031031.575 INFO MainThread mock-context-logger.test_remove_all_policies_twice: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20260221_031031.576 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"workflow_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "type": "node-instance", "task_name": null, "instance": {"runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-02-21T03:10:31.574Z", "policies_count": 4, "update_id": "8f85fd4c-a61d-4df4-98d8-9018b807fe1c"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-21T07:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id"} 20260221_031031.576 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_peach", "monkeyed.Config_both", "monkeyed.Config_multi"] 20260221_031031.576 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260221_031031.577 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMi0yMVQwMzoxMDozMS41NzdaIiwgInBvbGljaWVzX2NvdW50IjogMCwgInVwZGF0ZV9pZCI6ICIxY2RlODA5ZC0yNWFmLTQ4NWYtOGE4Ny0zYTY1NjAzYzc1ODcifQ=="}}] 20260221_031031.577 INFO MainThread mock-context-logger.policy_update: app_config {"policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"} 20260221_031031.577 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"workflow_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "type": "node-instance", "task_name": null, "instance": {"runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}, "policies_event": {"action": "updated", "timestamp": "2026-02-21T03:10:31.577Z", "policies_count": 0, "update_id": "1cde809d-25af-485f-8a87-3a65603c7587"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-21T07:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id"} 20260221_031031.578 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"workflow_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "type": "node-instance", "task_name": null, "instance": {"runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}, "policies_event": {"action": "updated", "timestamp": "2026-02-21T03:10:31.577Z", "policies_count": 0, "update_id": "1cde809d-25af-485f-8a87-3a65603c7587"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-21T07:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id"} 20260221_031031.578 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_peach", "monkeyed.Config_both", "monkeyed.Config_multi"] 20260221_031031.578 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260221_031031.579 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"workflow_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "type": "node-instance", "task_name": null, "instance": {"runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}, "policies_event": {"action": "updated", "timestamp": "2026-02-21T03:10:31.577Z", "policies_count": 0, "update_id": "1cde809d-25af-485f-8a87-3a65603c7587"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-21T07:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id"} 20260221_031031.579 INFO MainThread mock-context-logger.test_remove_all_policies_twice: removed: ['monkeyed.Config_peach_2', 'monkeyed.Config_peach', 'monkeyed.Config_both', 'monkeyed.Config_multi'] 20260221_031031.579 INFO MainThread mock-context-logger.test_remove_all_policies_twice: runtime_properties: {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}, "policies_event": {"action": "updated", "timestamp": "2026-02-21T03:10:31.577Z", "policies_count": 0, "update_id": "1cde809d-25af-485f-8a87-3a65603c7587"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}} 20260221_031031.579 INFO MainThread mock-context-logger.test_remove_all_policies_twice: expected = default application_config: {"policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"} 20260221_031031.579 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260221_031031.598 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "type": "node-instance", "task_name": null, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-21T07:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id"} 20260221_031031.599 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260221_031031.600 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123"} 20260221_031031.600 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDItMjFUMDM6MTA6MzEuNjAwWiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiZWQwNGI2MjUtZDVmNy00YTRlLWEwZjAtMmRkOWUxZTE0MjgxIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMjFUMDY6MTA6MzEuMjk1WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJ0eXBlIjogIkpTT04ifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0yMVQwMzoxMDozMS4yOTVaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0yMVQwNjoxMDozMS4yOTVaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMjFUMDQ6MTA6MzEuMjk1WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInR5cGUiOiAiSlNPTiJ9"}}] 20260221_031031.600 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "type": "node-instance", "task_name": null, "instance": {"runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-02-21T03:10:31.600Z", "policies_count": 4, "update_id": "ed04b625-d5f7-4a4e-a0f0-2dd9e1e14281"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-21T07:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id"} 20260221_031031.601 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-02-21T03:10:31.600Z", "policies_count": 4, "update_id": "ed04b625-d5f7-4a4e-a0f0-2dd9e1e14281"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}} 20260221_031031.601 INFO MainThread mock-context-logger.test_update_policies_not: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20260221_031031.601 INFO MainThread mock-context-logger.test_update_policies_not: app_config: {"policy_hello": "Lorem", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123"} 20260221_031031.601 INFO MainThread mock-context-logger.test_update_policies_not: policy_update: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_3.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi_3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_3"}] 20260221_031031.602 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"workflow_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "type": "node-instance", "task_name": null, "instance": {"runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-02-21T03:10:31.600Z", "policies_count": 4, "update_id": "ed04b625-d5f7-4a4e-a0f0-2dd9e1e14281"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-21T07:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id"} 20260221_031031.602 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach"}, {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.1.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2"}, {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_3.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi_3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_3"}], added_policies: {"<<>>": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2"}}}, "dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.1.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2"}}}}, removed_policies: ["<<>>"] 20260221_031031.602 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.1.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2"}} 20260221_031031.602 INFO MainThread mock-context-logger._update_policies: skipped updates on policies: {"duplicate": [], "unexpected": [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.1.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2"}, {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.1.xml", "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2"}], "ignored": [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_3.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi_3"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_3"}], "same": [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach"}]} 20260221_031031.603 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"workflow_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "type": "node-instance", "task_name": null, "instance": {"runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-02-21T03:10:31.600Z", "policies_count": 4, "update_id": "ed04b625-d5f7-4a4e-a0f0-2dd9e1e14281"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-21T07:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id"} 20260221_031031.603 INFO MainThread mock-context-logger.test_update_policies_not: runtime_properties: {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-02-21T03:10:31.600Z", "policies_count": 4, "update_id": "ed04b625-d5f7-4a4e-a0f0-2dd9e1e14281"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}} 20260221_031031.603 INFO MainThread mock-context-logger.test_update_policies_not: policies not changed: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20260221_031031.604 INFO MainThread mock-context-logger.test_update_policies_not: app_config not changed: {"policy_hello": "Lorem", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123"} 20260221_031031.604 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260221_031031.620 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "type": "node-instance", "task_name": null, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-21T07:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id"} 20260221_031031.621 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260221_031031.621 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123"} 20260221_031031.621 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDItMjFUMDM6MTA6MzEuNjIxWiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiZTJlNTMyNzMtNTJkMC00NmNkLWFiNjYtNjk3Y2ZjZjZhYWUwIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMjFUMDY6MTA6MzEuMjk1WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJ0eXBlIjogIkpTT04ifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0yMVQwMzoxMDozMS4yOTVaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0yMVQwNjoxMDozMS4yOTVaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMjFUMDQ6MTA6MzEuMjk1WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInR5cGUiOiAiSlNPTiJ9"}}] 20260221_031031.622 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "type": "node-instance", "task_name": null, "instance": {"runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-02-21T03:10:31.621Z", "policies_count": 4, "update_id": "e2e53273-52d0-46cd-ab66-697cfcf6aae0"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-21T07:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id"} 20260221_031031.622 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-02-21T03:10:31.621Z", "policies_count": 4, "update_id": "e2e53273-52d0-46cd-ab66-697cfcf6aae0"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}} 20260221_031031.622 INFO MainThread mock-context-logger.test_remove_all_policies: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20260221_031031.623 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"workflow_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "type": "node-instance", "task_name": null, "instance": {"runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-02-21T03:10:31.621Z", "policies_count": 4, "update_id": "e2e53273-52d0-46cd-ab66-697cfcf6aae0"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-21T07:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id"} 20260221_031031.623 INFO MainThread mock-context-logger._update_policies: updated_policies: [], added_policies: {}, removed_policies: ["monkeyed.Config_peach_2", "monkeyed.Config_peach", "monkeyed.Config_both", "monkeyed.Config_multi"] 20260221_031031.623 INFO MainThread mock-context-logger._update_policies: new_policies: {} 20260221_031031.623 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMi0yMVQwMzoxMDozMS42MjNaIiwgInBvbGljaWVzX2NvdW50IjogMCwgInVwZGF0ZV9pZCI6ICI4ODgzZjUwNy0wMGFlLTQ2ZDktOTI4Ny1mNGNiZmI3YjMzM2MifQ=="}}] 20260221_031031.624 INFO MainThread mock-context-logger.policy_update: app_config {"policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"} 20260221_031031.624 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"workflow_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "type": "node-instance", "task_name": null, "instance": {"runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}, "policies_event": {"action": "updated", "timestamp": "2026-02-21T03:10:31.623Z", "policies_count": 0, "update_id": "8883f507-00ae-46d9-9287-f4cbfb7b333c"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-21T07:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id"} 20260221_031031.624 INFO MainThread mock-context-logger.test_remove_all_policies: removed: ['monkeyed.Config_peach_2', 'monkeyed.Config_peach', 'monkeyed.Config_both', 'monkeyed.Config_multi'] 20260221_031031.625 INFO MainThread mock-context-logger.test_remove_all_policies: runtime_properties: {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}, "policies_event": {"action": "updated", "timestamp": "2026-02-21T03:10:31.623Z", "policies_count": 0, "update_id": "8883f507-00ae-46d9-9287-f4cbfb7b333c"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_id": "monkeyed.Config_both", "policy_persistent": true}}} 20260221_031031.625 INFO MainThread mock-context-logger.test_remove_all_policies: expected = default application_config: {"policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"} 20260221_031031.625 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260221_031031.640 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "type": "node-instance", "task_name": null, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-21T07:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id"} 20260221_031031.641 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260221_031031.641 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123"} 20260221_031031.641 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJhY3Rpb24iOiAiZ2F0aGVyZWQiLCAidGltZXN0YW1wIjogIjIwMjYtMDItMjFUMDM6MTA6MzEuNjQxWiIsICJwb2xpY2llc19jb3VudCI6IDQsICJ1cGRhdGVfaWQiOiAiYzExNjE3MDYtZGE5My00NmJhLWFlYTItODkyOGY5OTJiNjJjIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjIiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogInNpdCIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIzIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICI0IiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMjFUMDY6MTA6MzEuMjk1WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMiJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICI0IiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2hfMi40LnhtbCIsICJ0eXBlIjogIkpTT04ifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0yMVQwMzoxMDozMS4yOTVaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0yMVQwNjoxMDozMS4yOTVaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7Ik9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJjb25maWciOiB7InBvbGljeV9oZWxsbyI6ICJpcHN1bSIsICJwb2xpY3lfdXBkYXRlZF9mcm9tX3ZlciI6ICIxIiwgInBvbGljeV91cGRhdGVkX3RvX3ZlciI6ICIyIiwgInBvbGljeV91cGRhdGVkX3RzIjogIjIwMjYtMDItMjFUMDQ6MTA6MzEuMjk1WiIsICJ1cGRhdGVkX3BvbGljeV9pZCI6ICJtb25rZXllZC5Db25maWdfbXVsdGkifSwgInByb3BlcnR5IjogbnVsbCwgInBvbGljeUNvbmZpZ1N0YXR1cyI6ICJDT05GSUdfUkVUUklFVkVEIiwgInBvbGljeVZlcnNpb24iOiAiMiIsICJyZXNwb25zZUF0dHJpYnV0ZXMiOiB7fSwgInBvbGljeU5hbWUiOiAibW9ua2V5ZWQuQ29uZmlnX211bHRpLjIueG1sIiwgInR5cGUiOiAiSlNPTiJ9"}}] 20260221_031031.642 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "type": "node-instance", "task_name": null, "instance": {"runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-02-21T03:10:31.641Z", "policies_count": 4, "update_id": "c1161706-da93-46ba-aea2-8928f992b62c"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-21T07:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id"} 20260221_031031.642 INFO MainThread mock-context-logger.test_update_policies: runtime_properties: {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-02-21T03:10:31.641Z", "policies_count": 4, "update_id": "c1161706-da93-46ba-aea2-8928f992b62c"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}} 20260221_031031.642 INFO MainThread mock-context-logger.test_update_policies: policies: {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}} 20260221_031031.642 INFO MainThread mock-context-logger.test_update_policies: policy_update: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}] 20260221_031031.642 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: not yet in policies 20260221_031031.643 INFO MainThread mock-context-logger.log_ctx_info: before policy_update test_ms_id context: {"workflow_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "type": "node-instance", "task_name": null, "instance": {"runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123"}, "policies_event": {"action": "gathered", "timestamp": "2026-02-21T03:10:31.641Z", "policies_count": 4, "update_id": "c1161706-da93-46ba-aea2-8928f992b62c"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_peach_2.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "2", "responseAttributes": {}, "policyName": "monkeyed.Config_multi.2.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_multi", "policy_persistent": false}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-21T07:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id"} 20260221_031031.643 INFO MainThread mock-context-logger._update_policies: updated_policies: [{"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}], added_policies: {"dcae_policies_b_2_node_id": {"policies": {"monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}}, removed_policies: ["monkeyed.Config_multi"] 20260221_031031.643 INFO MainThread mock-context-logger._update_policies: new_policies: {"monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}} 20260221_031031.644 INFO MainThread mock-context-logger._run_transaction: response 200 for store_policies http://consul:8500/v1/txn: text={} txn=[{"KV": {"Verb": "delete-tree", "Key": "unit_test_scn:policies/"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/event", "Value": "eyJhY3Rpb24iOiAidXBkYXRlZCIsICJ0aW1lc3RhbXAiOiAiMjAyNi0wMi0yMVQwMzoxMDozMS42NDNaIiwgInBvbGljaWVzX2NvdW50IjogNCwgInVwZGF0ZV9pZCI6ICJlMDQ3MDk2YS1mMDk1LTRlMDktYTYyZi02NWExYzRlNzU5M2YifQ=="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0yMVQwNDoxMDozMS4yOTVaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaF8yIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICJhYTIwIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_peach", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEiLCAiT05BUE5hbWUiOiAiRENBRSIsICJDb25maWdOYW1lIjogImFsZXhfY29uZmlnX25hbWUifSwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogIkxvcmVtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjAiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0yMVQwMzoxMDozMS4yOTVaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19wZWFjaCJ9LCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAicG9saWN5VmVyc2lvbiI6ICIxIiwgInJlc3BvbnNlQXR0cmlidXRlcyI6IHt9LCAicG9saWN5TmFtZSI6ICJtb25rZXllZC5Db25maWdfcGVhY2guMS54bWwiLCAidHlwZSI6ICJKU09OIn0="}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_both", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJtYXRjaGluZ0NvbmRpdGlvbnMiOiB7InByaW9yaXR5IjogIjEuNSIsICJPTkFQTmFtZSI6ICJEQ0FFIiwgIkNvbmZpZ05hbWUiOiAiYWxleF9jb25maWdfbmFtZSJ9LCAiY29uZmlnIjogeyJwb2xpY3lfaGVsbG8iOiAic2l0IiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjMiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjQiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0yMVQwNjoxMDozMS4yOTVaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoIn0sICJwcm9wZXJ0eSI6IG51bGwsICJwb2xpY3lDb25maWdTdGF0dXMiOiAiQ09ORklHX1JFVFJJRVZFRCIsICJwb2xpY3lWZXJzaW9uIjogIjQiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge30sICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19ib3RoLjQueG1sIiwgInR5cGUiOiAiSlNPTiJ9"}}, {"KV": {"Verb": "set", "Key": "unit_test_scn:policies/items/monkeyed.Config_multi_2", "Value": "eyJwb2xpY3lDb25maWdNZXNzYWdlIjogIkNvbmZpZyBSZXRyaWV2ZWQhICIsICJwb2xpY3lOYW1lIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yLjIueG1sIiwgImNvbmZpZyI6IHsicG9saWN5X2hlbGxvIjogImlwc3VtIiwgInBvbGljeV91cGRhdGVkX2Zyb21fdmVyIjogIjEiLCAicG9saWN5X3VwZGF0ZWRfdG9fdmVyIjogIjIiLCAicG9saWN5X3VwZGF0ZWRfdHMiOiAiMjAyNi0wMi0yMVQwNDoxMDozMS4yOTVaIiwgInVwZGF0ZWRfcG9saWN5X2lkIjogIm1vbmtleWVkLkNvbmZpZ19tdWx0aV8yIn0sICJ0eXBlIjogIkpTT04iLCAicHJvcGVydHkiOiBudWxsLCAicG9saWN5Q29uZmlnU3RhdHVzIjogIkNPTkZJR19SRVRSSUVWRUQiLCAibWF0Y2hpbmdDb25kaXRpb25zIjogeyJwcmlvcml0eSI6ICIxIiwgIk9OQVBOYW1lIjogIkRDQUUiLCAiQ29uZmlnTmFtZSI6ICJhbGV4X2NvbmZpZ19uYW1lIn0sICJwb2xpY3lWZXJzaW9uIjogIjIiLCAicmVzcG9uc2VBdHRyaWJ1dGVzIjoge319"}}] 20260221_031031.644 INFO MainThread mock-context-logger.policy_update: app_config {"policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"} 20260221_031031.645 INFO MainThread mock-context-logger.log_ctx_info: after policy_update test_ms_id context: {"workflow_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "type": "node-instance", "task_name": null, "instance": {"runtime_properties": {"exe_task": "node_configure", "policy_filters": {"dcae_policies_b_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_2_node_id"}, "dcae_policies_b_5_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_5_node_id"}, "dcae_policies_node_id": {"policy_filter": {"configAttributes": {"ConfigName": "alex_config_name"}, "policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_node_id"}, "dcae_policies_2_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_2_node_id"}, "dcae_policies_b_node_id": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}, "policy_filter_id": "dcae_policies_b_node_id"}}, "execute_operation": "policy_update", "service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "db_port": "123", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}, "policies_event": {"action": "updated", "timestamp": "2026-02-21T03:10:31.643Z", "policies_count": 4, "update_id": "e047096a-f095-4e09-a62f-65a1c4e7593f"}, "policies": {"monkeyed.Config_peach_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}, "monkeyed.Config_peach": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true}, "monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true}, "monkeyed.Config_multi_2": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false}}}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach"}, "name": "dcae_policy_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "dcae_policy_node_name_2", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_node_name_2"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_node_id_2"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"configAttributes": "{\"ConfigName\": \"alex_config_name\"}", "policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_multi": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi"}}}, "relationships": [], "id": "dcae_policies_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"empty": null}}, "name": "dcae_policies_empty_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "dcae_policies_empty_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_empty_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "dcae_policies_empty_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_2_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_2_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_both"}, "name": "dcae_policy_b_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "dcae_policy_b_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.4.xml", "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "4", "responseAttributes": {}}}, "relationships": [], "id": "dcae_policy_b_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_filter": {"policyName": "monkeyed.Config_multi.*"}}, "name": "dcae_policies_b_5_node_name", "type_hierarchy": ["dcae.nodes.policies"], "type": "dcae.nodes.policies", "id": "dcae_policies_b_5_node_name"}, "instance": {"runtime_properties": {"policies_filtered": {"monkeyed.Config_both": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_both.5.xml", "config": {"policy_hello": "amet", "policy_updated_from_ver": "4", "policy_updated_to_ver": "5", "policy_updated_ts": "2026-02-21T07:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "5", "responseAttributes": {}}, "policy_id": "monkeyed.Config_both"}}}, "relationships": [], "id": "dcae_policies_b_5_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id"} 20260221_031031.645 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi]: removed 20260221_031031.645 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_multi_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_multi_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_multi_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_multi_2", "policy_persistent": false} 20260221_031031.645 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach_2]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach_2.2.xml", "config": {"policy_hello": "ipsum", "policy_updated_from_ver": "1", "policy_updated_to_ver": "2", "policy_updated_ts": "2026-02-21T04:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach_2"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "aa20", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "2", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach_2", "policy_persistent": true} 20260221_031031.645 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_peach]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260221_031031.645 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_peach]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "1", "responseAttributes": {}, "policyName": "monkeyed.Config_peach.1.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260221_031031.646 INFO MainThread mock-context-logger.test_update_policies: expected[monkeyed.Config_both]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.1.xml", "config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "1", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "1", "responseAttributes": {}}, "policy_id": "monkeyed.Config_peach", "policy_persistent": true} 20260221_031031.646 INFO MainThread mock-context-logger.test_update_policies: policy[monkeyed.Config_both]: {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "matchingConditions": {"priority": "1.5", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "config": {"policy_hello": "sit", "policy_updated_from_ver": "3", "policy_updated_to_ver": "4", "policy_updated_ts": "2026-02-21T06:10:31.295Z", "updated_policy_id": "monkeyed.Config_both"}, "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "policyVersion": "4", "responseAttributes": {}, "policyName": "monkeyed.Config_both.4.xml", "type": "JSON"}, "policy_id": "monkeyed.Config_both", "policy_persistent": true} 20260221_031031.646 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear 20260221_031031.661 INFO MainThread mock-context-logger.log_ctx_info: before node_configure test_ms_id context: {"workflow_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "type": "node-instance", "task_name": null, "instance": {"runtime_properties": {"exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id"} 20260221_031031.661 INFO MainThread mock-context-logger.operation_node_configure: operation_node_configure kwargs: {} 20260221_031031.661 INFO MainThread mock-context-logger.operation_node_configure: property app_config: {"policy_hello": "Lorem", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123"} 20260221_031031.662 INFO MainThread mock-context-logger.log_ctx_info: after node_configure test_ms_id context: {"workflow_id": null, "operation": {"max_retries": null, "retry_number": null, "name": null}, "plugin": {"package_version": null, "prefix": "/w/workspace/dcaegen2-utils-sonar/onap-dcae-dcaepolicy-lib/.tox/py27", "workdir": null, "package_name": null, "name": ""}, "node": {"properties": {"application_config": {"policy_hello": "Lorem", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "db_port": "123", "weather": "snow", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy"}}, "name": "test_ms_name", "type_hierarchy": ["ms.nodes.type"], "type": "ms.nodes.type", "id": "test_ms_name"}, "task_queue": null, "execution_id": "test_dcae_policy_exe_id", "task_id": null, "blueprint.id": "test_dcae_policy_bp_id", "task_target": null, "type": "node-instance", "task_name": null, "instance": {"runtime_properties": {"service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "exe_task": "node_configure"}, "relationships": [{"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_2_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_2_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_2_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {"policy_id": "monkeyed.Config_peach_2"}, "name": "bad_policy_3_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_3_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_3_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "bad_policy_4_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "bad_policy_4_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "bad_policy_4_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "weird_policy_5_node_name", "type_hierarchy": ["dcae.nodes.policy"], "type": "dcae.nodes.policy", "id": "weird_policy_5_node_name"}, "instance": {"runtime_properties": {"policy_body": {"policyConfigMessage": "Config Retrieved! ", "policyName": "monkeyed.Config_peach.3.xml", "config": {"policy_hello": "dolor", "policy_updated_from_ver": "2", "policy_updated_to_ver": "3", "policy_updated_ts": "2026-02-21T05:10:31.295Z", "updated_policy_id": "monkeyed.Config_peach"}, "type": "JSON", "property": null, "policyConfigStatus": "CONFIG_RETRIEVED", "matchingConditions": {"priority": "2", "ONAPName": "DCAE", "ConfigName": "alex_config_name"}, "policyVersion": "3", "responseAttributes": {}}}, "relationships": [], "id": "weird_policy_5_node_id"}}}, {"type_hierarchy": ["cloudify.relationships.depends_on"], "type": "cloudify.relationships.depends_on", "target": {"node": {"properties": {}, "name": "non_policies_node_name", "type_hierarchy": ["non.policy.type"], "type": "non.policy.type", "id": "non_policies_node_name"}, "instance": {"runtime_properties": {}, "relationships": [], "id": "non_policies_node_id"}}}], "id": "test_ms_id"}, "deployment.id": "test_dcae_policy_dpl_id"} 20260221_031031.662 INFO MainThread mock-context-logger.test_defenses_on_set_policies: runtime_properties: {"service_component_name": "unit_test_scn", "application_config": {"policy_hello": "Lorem", "policy_updated_ts": "2026-02-21T03:10:31.295Z", "updated_policy_id": "no_policy", "policy_updated_from_ver": "0", "policy_updated_to_ver": "1", "weather": "snow", "db_port": "123"}, "policies": {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}}, "exe_task": "node_configure"} 20260221_031031.662 INFO MainThread mock-context-logger.test_defenses_on_set_policies: policies: {"monkeyed.Config_peach_2": {"policy_id": "monkeyed.Config_peach_2", "policy_persistent": true}} 20260221_031031.662 INFO MainThread mock-context-logger.ctx_wrapper: MockCloudifyContextFull.clear